Package dev.dokimos.server.repository
Interface TraceEvalRuleRepositoryFragment
- All Superinterfaces:
ScopedRepository<TraceEvalRule>
- All Known Subinterfaces:
TraceEvalRuleRepository
- All Known Implementing Classes:
TraceEvalRuleRepositoryFragmentImpl
Entity-specific scoped finders for
TraceEvalRule.-
Method Summary
Modifier and TypeMethodDescriptionbooleanexistsByProjectIdAndName(UUID projectId, String name, TenantScope scope) Returns whether a rule of the name already exists in the project, within the scope.findByProjectId(UUID projectId, TenantScope scope) Lists a project's rules oldest first, within the scope.findByProjectIdAndEnabledTrue(UUID projectId) Enabled rules for a project regardless of tenant, used by ingestion to decide which spans to enqueue.
-
Method Details
-
findByProjectId
Lists a project's rules oldest first, within the scope. -
findByProjectIdAndEnabledTrue
Enabled rules for a project regardless of tenant, used by ingestion to decide which spans to enqueue. Ingestion runs off the request thread, so it lists unrestricted. -
existsByProjectIdAndName
Returns whether a rule of the name already exists in the project, within the scope.
-