Skip to content

sanitizing metric dimension #958

@jchauncey

Description

@jchauncey

For example the image isn't particularly useful but the version is. So it would be great if that was separated into its own dimension. The other one is the container name. Certain platforms create some what unique container names (mycontainer_v2.web.1 mycontainer_v2.web.2) for instance. It would be great if we could have a way to supply a regular expression to parse out the information we didnt want. In this case I would like my metrics to have the container name mycontainer.web (with version being an added dimension).

I specifically need this for the Prometheus exporter but think it could be valuable for all metrics being sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions