-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add kube_pod_status_ready_time
#22640
Comments
I also recommend to stop ignoring the metric With those metrics we can understand how long pod's take to start. This is particularly important for those who uses event-driven auto-scale in Kubernetes like Keda.
|
Absolutely right! These metrics and additional, receive_request_ms or equal one in datadog side are red dots for auto scaling rules and observability actually. They should be in usage as an active.
|
This would be very nice to have in Kube State Core. I can easily derive pod start times in my internal Grafana/Prometheus instances, being able to do this in DataDog would be amazing. |
Hi, we also need the @tibernardinelli I think Datadog is not really "ignoring" the We can find the name conversion which is done in this file kubernetes_state_transformers.go. There is a similar renaming in the source code for the It allows to do stuffs like that to get the time "from pod scheduling until pod creation".
The renaming is probably associated to what's described here https://github.com/prometheus/OpenMetrics/blob/main/specification/OpenMetrics.md#suffixes 🤔 (at least for the Anyway the PR which added those 2 (badly named?) metrics is #7764, I suppose we could take it as an example to add the missing ready time metrics. |
We would like to measure performance of our Kubernetes clusters and create SLOs by subtracting two metrics from each other
Would it be possible to add and expose these metrics? Thank you. |
I had to use the following workaround to collect some additional metrics. It's possible to define several integrations and collect missing metrics using
Note, it's v1 annotations syntax. Check https://docs.datadoghq.com/getting_started/containers/autodiscovery if you are using v2 |
Hi!
Since v2.8.0, kube state metrics supports the following metrics:
kube_pod_status_ready_time
kube_pod_status_containers_ready_time
See kubernetes/kube-state-metrics#1938
However, I don't see these listed in the supported metrics list.
Is it possible to add support for these?
Thanks!
The text was updated successfully, but these errors were encountered: