Ad Widget

Collapse

Make the trace span window configurable (APM_TRACE_MAX_DURATION is fixed at 1 hour)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • horford
    Junior Member
    • Nov 2026
    • 1

    #1

    Make the trace span window configurable (APM_TRACE_MAX_DURATION is fixed at 1 hour)

    We're on 8.0.0 and send our render farm's batch jobs to APM as traces, one per job. Plenty of them run for several hours, and some sit queued for a while first. The trace panel only loads spans that start within an hour of the root span, because APM_TRACE_MAX_DURATION is fixed at 3600 in ui/include/defines.inc.php, so most of a long trace just isn't shown.

    We've raised the constant locally for now.

    Could it become a setting, or could the panel use the trace's actual start and end? Happy to share details if that helps.
Working...