Commit a511151
committed
fix(otel): increase getSpan start time buffer to 60s for scheduled runs
The schedule engine pre-queues runs ~25s before exactScheduleTime so they're ready to execute on the dot, but overrideCreatedAt stamps the TaskRun's createdAt with the future scheduled time. The getSpan query used createdAt as the window start with only a 1s buffer, causing spans to fall outside the query window for scheduled runs.
The same issue was fixed for getTraceSummary in df4ab97 but getSpan was missed. Applying the same 60s buffer.1 parent 3a5bc57 commit a511151
File tree
1 file changed
+1
-1
lines changed- apps/webapp/app/v3/eventRepository
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1229 | 1229 | | |
1230 | 1230 | | |
1231 | 1231 | | |
1232 | | - | |
| 1232 | + | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | 1235 | | |
| |||
0 commit comments