Description of the issue
The current spec proposes to use a special value (span.self_time) for DISABLE_METRICS to disable collection of breakdown metrics. This introduces special cases into a mechanism that did not have any previous considerations for special casing, which can be problematic (in the case of the Python agent, it would require a substantial refactor of how DISABLE_METRICS currently works).
Instead, I propose to use a boolean config option BREAKDOWN_METRICS, with default to True. While this sadly adds to the proliferation of config options, I think it is preferable to overloading existing config options with special meaning.
What we are voting on
Should we add a new config option to disable/enable collection of breakdown metrics?
Vote
cc @elastic/apm-agent-devs