Skip to content

Include reason label to the kube_deployment_status_condition metric #1991

@augustfengd

Description

@augustfengd

What would you like to be added:

I would like the label reason to be added to the kube_deployment_status_condition metric.

Why is this needed:

The kube_deployment_status_condition has only two properties relating to the DeploymentCondition object: condition and status, which is not enough to distinguish between a Progressing Deployment and a Complete Deployment. The reason label will add sufficient information to distinguish the two states.

Describe the solution you'd like

Simply extract and emit the reason label for the deployments.

Additional context

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions