-
I'm trying to learn a bit about opentelemetry and exploring what the hostmetrics receiver can provide. One of the metrics is the total number of processes. When I run this on my local development machine I get 4 payloads that are labeled per process status and has a value of how many in that status. They are:
Two things I don't understand:
A few details that may shed light:
Two Days Later.. Played with this again. I was curious if running it in the container was the issue. So tried running the otel-collector directly on my host. Today, ps indicates I have about 300 processes running. When I run otel-collector directly on the host it says there are about 650 in an "unknown" state (and a handful in the other states like before). I then shut that down and immediate run it in the container again and now I have 1074 processes. So running it in the container def affects the count but it's not like running it on the host is accurate either. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Looks like I found a bug in otel so taking to an issue. |
Beta Was this translation helpful? Give feedback.
Looks like I found a bug in otel so taking to an issue.