Skip to content

Breakdown graphs: introduce config option instead of special value for DISABLE_METRICS #120

@beniwohli

Description

@beniwohli

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

Agent Yes No Indifferent N/A Link to agent issue
.NET
elastic/apm-agent-dotnet#227
Go
elastic/apm-agent-go#597
Java
elastic/apm-agent-java#743
Node.js
Python
Ruby
RUM

cc @elastic/apm-agent-devs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions