elastic / apm

Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
https://www.elastic.co/apm
Apache License 2.0
384 stars 114 forks source link

Increase default span_stack_trace_min_duration #586

Closed AlexanderWert closed 2 years ago

AlexanderWert commented 2 years ago

Stack trace capturing is relatively expensive in terms of performance. Currently, the recommended default threshold for span_stack_trace_min_duration is 5ms. This value should be changed to improve the cost/benefit ratio of this feature.

Reasoning:

Status

Summary: custom ep custom ep custom ep
SPEC issue:  issue details
Agent Increase default span_stack_trace_min_duration
Java issue details issue details
.NET issue details issue details
Go issue details issue details
Node JS issue details issue details
Python issue details issue details
Ruby issue details issue details
PHP issue details issue details
felixbarny commented 2 years ago

As explained in https://github.com/elastic/apm/pull/585#issuecomment-1021371791, we'll only change the default for Node.js for now.