Skip to content

Add missing metrics and labels to Prometheus emitter #17908

@TessaIO

Description

@TessaIO

Description

Some of the metrics on the Prometheus emitter are missing, and some lack labels.
The ones that are missing are basically the ones added in this PR.
The one that is missing a label is service/heartbeat and it's missing the dimension (label) leader.

Motivation

Currently, we're passing our custom metrics.json to the prometheus emitter, and each time we do an upgrade, we need to also to make sure to update that file, which sometimes can be tedious from an operational point of view to do it on each upgrade. It would be nice if we could include these dimensions and metrics in the JSON file in the upstream.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions