Interface TraceEvalRuleRepositoryFragment

All Superinterfaces:
ScopedRepository<TraceEvalRule>
All Known Subinterfaces:
TraceEvalRuleRepository
All Known Implementing Classes:
TraceEvalRuleRepositoryFragmentImpl

public interface TraceEvalRuleRepositoryFragment extends ScopedRepository<TraceEvalRule>
Entity-specific scoped finders for TraceEvalRule.
  • Method Details

    • findByProjectId

      List<TraceEvalRule> findByProjectId(UUID projectId, TenantScope scope)
      Lists a project's rules oldest first, within the scope.
    • findByProjectIdAndEnabledTrue

      List<TraceEvalRule> findByProjectIdAndEnabledTrue(UUID projectId)
      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

      boolean existsByProjectIdAndName(UUID projectId, String name, TenantScope scope)
      Returns whether a rule of the name already exists in the project, within the scope.