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

different results: kube_pod_container_status_waiting_reason VS kube_pod_container_status_waiting #4815

Closed
naseemkullah opened this Issue Nov 1, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@naseemkullah
Copy link

naseemkullah commented Nov 1, 2018

Proposal

Use case. Why is this important?

*Set up alerts when pod is not starting due to CreateContainerConfigError, generally alert is set based off kube_pod_container_status_waiting_reason metric

Bug Report

What did you do?

Had a pod with CreateContainerConfigError, setup an alert for kube_pod_container_status_waiting_reason > 0 for 10m, but it did not catch it.

Hwoever kube_pod_container_status_waiting does catch it (but does not state the reason)

What did you expect to see?
I wanted kube_pod_container_status_waiting_reason metric to encompass pods that wont start due to CreateContainerConfigError

What did you see instead? Under which circumstances?
please see above
Environment
not important

  • System information:
    latest prometheus helm chart on latest gke

  • Prometheus version:

    latest

  • Alertmanager version:
    latest

@simonpasquier

This comment has been minimized.

Copy link
Member

simonpasquier commented Nov 5, 2018

Thanks for your report. It looks as if this is actually a question about kube-state-metrics and Prometheus usage.

To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list.

Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future.

@naseemkullah

This comment has been minimized.

Copy link
Author

naseemkullah commented Nov 5, 2018

@naseemkullah

This comment has been minimized.

Copy link
Author

naseemkullah commented Nov 6, 2018

@brancz

This comment has been minimized.

Copy link
Member

brancz commented Nov 6, 2018

I think this can be closed here, as it's not an issue with Prometheus but needs a small patch in kube-state-metrics itself. Closing.

@brancz brancz closed this Nov 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.