Skip to content

kube_pod_scheduler and kube_pod_service_account should not be separate metrics #2549

@brancz

Description

@brancz

What would you like to be added:

kube_pod_scheduler and kube_pod_service_account should not be separate metrics, they should each be labels of the _info metric.

Why is this needed:

There is no cardinality increase by adding labels that will never change over the pod's lifetime, however, having both of these metrics separately, causes a cardinality increase by the number of pods (2x of course since they are two metrics).

Describe the solution you'd like

Add scheduler and service account to the info metric.

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions