This is a FEATURE REQUEST.
Please add support for kube_state_metrics_build_info as part of the metrics exposed on telemetry port 8081.
kube_state_metrics_build_info shall include the version of the kube-state-metrics.
Most Prometheus exporters are currently supporting such metric.
Love this :+1: do you want to shoot us a PR to add it? :)
@brancz
I am new :)
Sorry to ask but what is the process to create a PR?
Prometheus does provide a helper for this https://github.com/prometheus/common/blob/7680068d4af7bd5cb3043381494f956c22c034b2/version/info.go#L38, but we are not setting those exact vars. So something similar could probably be added to https://github.com/kubernetes/kube-state-metrics/blob/17ddeca348130ead2f893295ea093429c388887c/pkg/version/version.go
@stevebail I recently did some contributions to this project, I would be happy to help you with the process if you are willing to create a PR. Let me know.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
@fejta-bot: Closing this issue.
In response to this:
Rotten issues close after 30d of inactivity.
Reopen the issue with/reopen.
Mark the issue as fresh with/remove-lifecycle rotten.Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Most helpful comment
Prometheus does provide a helper for this https://github.com/prometheus/common/blob/7680068d4af7bd5cb3043381494f956c22c034b2/version/info.go#L38, but we are not setting those exact vars. So something similar could probably be added to https://github.com/kubernetes/kube-state-metrics/blob/17ddeca348130ead2f893295ea093429c388887c/pkg/version/version.go