Skip to content

APM agent settings telemetry.agent.global_labels.* should not be passed on to server #120791

Open
@mosche

Description

@mosche

In APMJvmOptions, nested telemetry.agent.global_labels.* are flattened into a single telemetry.agent.global_labels setting as used by the agent. The previous telemetry.agent.global_labels.* settings are not recognized by the agent and should not be included in ServerArgs.
Due to the way APMJvmOptions depends on ServerArgs it's currently not trivial to exclude settings from ServerArgs based on filtering done for JVM options.

Currently this requires a workaround in APMAgentSettings to ignore any setting matching telemetry.agent.global_labels.*

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CLICLI utilities, scripts, and infrastructure:Core/Infra/MetricsMetrics and metering infrastructure>bugTeam:Core/InfraMeta label for core/infra team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions