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

Collect kube_pod_status_ready_time from KSM for kubernetes.state_pod metriscet #39158

Open
Tracked by #9753
MichaelKatsoulis opened this issue Apr 23, 2024 · 3 comments
Labels
enhancement Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Comments

@MichaelKatsoulis
Copy link
Contributor

Kube-state-metrics reports kube_pod_status_ready_time metric:

kube_pod_status_ready_time{namespace="kube-system",pod="kube-apiserver-kind-control-plane",uid="8cb4d4e1-b8b3-4bab-adc2-3e9d3687724c"} 1.698675692e+09

This metric indicates how long it took for a pod to become ready. In kubernetes state_pod metricset, we are currently collecting it.
It is a useful metric for Elastic's serverless platform for monitoring how long it took for applications to start.

@MichaelKatsoulis MichaelKatsoulis changed the title Collect kube_pod_status_ready_time from KSM for kubernetes.state_pod metriscet Collect kube_pod_status_ready_time from KSM for kubernetes.state_pod metriscet Apr 23, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 23, 2024
@MichaelKatsoulis MichaelKatsoulis added enhancement and removed needs_team Indicates that the issue/PR needs a Team:* label labels Apr 23, 2024
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 23, 2024
@botelastic
Copy link

botelastic bot commented Apr 23, 2024

This issue doesn't have a Team:<team> label.

@MichaelKatsoulis MichaelKatsoulis added the Team:obs-ds-hosted-services Label for the Observability Hosted Services team label Apr 23, 2024
@elasticmachine
Copy link
Collaborator

Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Apr 23, 2024
@mduarte
Copy link

mduarte commented Apr 23, 2024

I was actually thinking that perhaps we could also get other time metrics since they could be used to monitor other issues and alert on them.

e.g.

kube_pod_start_time
kube_pod_completion_time
kube_pod_status_ready_time
kube_pod_status_scheduled_time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

No branches or pull requests

3 participants