Applies to:
- Plan:
- Deployment:
Summary
Issue: Online scorers configured with time-based filters likecreated > now() - 1 day fail to score production traces, showing missing scores in the UI.
Cause: Time-based filters in online scorer queries can interfere with trace discovery due to timing mismatches between trace creation and scorer evaluation.
Resolution: Remove time-based filters from online scorer SQL queries, as scorers automatically apply to new traces without needing time conditions.
Resolution Steps
Remove Time-Based Filters
Step 1: Edit scorer rule
Navigate to the Online Scoring modal and remove anycreated > now() - X conditions from your SQL filter.
Step 2: Set sampling to 100%
Temporarily increase sampling rate to 100% to verify the scorer works on all matching traces.Step 3: Test the rule
Click Test rule to confirm your SQL filter matches recent spans.Step 4: Verify scoring
Create new traces and confirm scores appear. Some lag (seconds to minutes) is normal.If No Results Appear After Testing
Step 1: Simplify filter
Temporarily removespan_attributes.name IN (...) to check if any spans match.