Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding additional kube-state-metrics state_deployment metrics #36820

Closed
rudolf opened this issue Oct 10, 2023 · 1 comment
Closed

Adding additional kube-state-metrics state_deployment metrics #36820

rudolf opened this issue Oct 10, 2023 · 1 comment
Labels
Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team

Comments

@rudolf
Copy link
Contributor

rudolf commented Oct 10, 2023

Describe the enhancement:

The kube-state-metrics deployment state metricset currently contain only a subset of metrics https://github.com/elastic/beats/blob/main/metricbeat/module/kubernetes/state_deployment/state_deployment.go#L30-L34

https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-kubernetes.html#_deployment_2

For all available metrics see https://github.com/kubernetes/kube-state-metrics/blob/main/docs/deployment-metrics.md

We're specifically missing kube_deployment_created

Describe a specific use case for the enhancement or feature:
We'd like to monitor and alert on deployments with a high number of unavailable replicas. However, shortly after being created it's expected that a deployment/replicaset won't have all it's requested replicas available. Having kube_deployment_created would allow us to exclude newly created deployments from our monitoring.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 10, 2023
@cmacknz cmacknz added the Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team label Oct 16, 2023
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 16, 2023
@rudolf rudolf added the Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. label Nov 27, 2023
@rayafratkina
Copy link

We worked around this limitation by using custom metrics in kibana controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team
Projects
None yet
Development

No branches or pull requests

3 participants