Replies: 1 comment 1 reply
-
You can use the pprof extension to get more information, the process.threads metric is what the OS sees. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have executed the otel collector with hostmetrics receiver and all metrics on.
The identification of 10 threads associated with otel process ID raises uncertainty about their origin.
Each thread exhibits approximately 1.7% CPU usage. While the test case assumes a worst-case scenario of 45 req/s through simulating 15 req/s from 3 threads, the chart suggests potential spikes, possibly exceeding 5% CPU usage.
This test, however, overlooks certain factors such as network infrastructure impact (e.g., network interrupts), inter-process communication overheads, and the load on calling processes using the OpenTelemetry (OTEL) library. Considering these factors, an additional 40-50% may need to be factored in for basic features without host metrics.
Is there any explanation and a way to easily get from the collector itself which otel thread belongs to which otel module (receiver, processor, exporter, extension):
Beta Was this translation helpful? Give feedback.
All reactions