Skip to content

Carbon2 serializer doesn't translate = in metric name #8974

@pmalek-sumo

Description

@pmalek-sumo

Expected behavior:

Serialized metric names shouldn't contain = in their names.

Actual behavior:

Whenever carbon2 serializer is used and metric with = in their name are being serialized then the serializer doesn't translate the = characters, just copies them as is.

Additional info:

Metrics with = in their names may confuse many systems that ingest them.

Suggestion

Replace all = in metric name (and perhaps in all fields?) with _.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions