-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
k8s.pod.phase not providing correct info if my pod status is Crashbackoff look #33797
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This is affecting us as well, @dmitryax @TylerHelmuth @povilasv can anyone help please ? |
@dmitryax @TylerHelmuth @povilasv Is there any update on the issue ? |
Hey, we map K8S pod.Status.Phase field to k8s.pod.phase metric, with the following mapping:
If it was showing running, then the pod at that time was running. There is no pod status phase for crashloop back off. For this see this issue -> #32457 |
@povilasv that's kind of passing wrong information You can check in below image status is giving as crash back loop |
Could you paste the output of your It should have a "phase" field:
|
I think I found the issue. Basically K8s docs state this:
I think the crash loop back off status fits into K8s "running" category:
|
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Any update or workaround? |
Component(s)
receiver/k8scluster
What happened?
Description
My pods are in crash backoff look but it still showing as running status
Steps to Reproduc
Expected Result
It should give us phase if my pods are in crashbackoff look
Actual Result
Its giving us Running phase that's incorrect
Collector version
Latest(v0.103.0)
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: