Replies: 3 comments 1 reply
-
Analysis on CPU spike for OTEL collectorModified the config for OTEL collector and ran the cputop script "cputop" for 5 minutes (approx) and generated the report. Below table contains the config used to test OTEL collector CPU usage spike.
From the above data we get to know that
|
Beta Was this translation helpful? Give feedback.
-
Hostmetrics process(es) metrics are retrieved using the go lib gopstutil.
A bit offtopic but relevant for hostmetrics "proc/net" network connection metrics is this one. The |
Beta Was this translation helpful? Give feedback.
-
Interesting projects using in context of eBPF collecting host metrics |
Beta Was this translation helpful? Give feedback.
-
We have already implemented a memory limiter to ensure that we stay within a specific usage rate. However, when it comes to CPU usage, the factors that influence it include the choice of extensions, processors, and receivers. This is particularly crucial for the OTel collector base, which involves receiving traces and metrics via OTLP gRPC, handling host metrics, and exporting data via OTLP gRPC.
In the context of CPU consumption on embedded devices, it becomes essential to measure and optimize the relevant parameters. Understanding which factors influence CPU consumption, how to reduce it, and being aware of potential trade-offs is of utmost importance. Unfortunately, I haven't come across comprehensive guidance on this aspect yet.
In the case of single-core utilization, we need to ensure that we do not exceed a certain fraction of milli-cores. However, the challenge lies in how we can effectively achieve and maintain this without clear guidelines or tools in place.
related
Beta Was this translation helpful? Give feedback.
All reactions