-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Revisit how collector internal metric are distributed across telemetry levels #7890
Comments
From collector wg/sig:
I'm strongly in favor of better utilizing verbosity levels |
Agree. I was testing the difference between these levels and just found the same, that the detailed level logs has one more metric than others (namely |
According to the proposed guidelines, I think we can move
These metrics were not emitted before the transition to OTel instrumentation and can be pretty noisy even with enabled
Enabling them on the |
@dmitryax I agree that component metrics should be emitted with For the GRPC/HTTP server/client metrics, are they broken down per component? If so, they feels like Side note about |
Not every component exposes them, only receivers and exporters with HTTP/GRPC clients/servers, but it can be more granular than per component. Client metrics are per I would agree to move HTTP/GRPC client/server metrics to
There is nothing like that available now. Users can further reduce the set with filter processor or with |
Out of scope for this issue for sure, but I agree. |
**Description:** This change distributes the reported internal metrics across available levels and updates the level set by default: 1. The default level is changed from `basic` to `normal`, which can be overridden with `service::telmetry::metrics::level` configuration. 2. The following batch processor metrics are updated to be reported starting from `normal` level instead of `basic` level: - `processor_batch_batch_send_size` - `processor_batch_metadata_cardinality` - `processor_batch_timeout_trigger_send` - `processor_batch_size_trigger_send` 3. The following GRPC/HTTP server and client metrics are updated to be reported starting from `detailed` level: - `http.client.*` metrics - `http.server.*` metrics - `rpc.server.*` metrics - `rpc.client.*` metrics **Link to tracking Issue:** #7890
What is the status of this issue? What is left to decide? |
There are several verbosity levels that can be used to configure how many metrics the collector exposes:
The problem is that they are barely used. Most of the metrics are exposed at the
basic
level. There is only one metric in batch processor exposed at thedetailed
level. Thenormal
level is not being used. The suggestion is to revisit all the metrics and further distribute them across the levels.The default level is
basic
(the lowest), which is the most common and provides most of the metrics. We can move a significant portion of the metrics to thenormal
level, which can become a new default. So default behavior doesn't change for the end user. Whilebasic
level can be kept to the bare minimum reserved for collector core:OTel components metrics will use only normal or detailed levels.
Long-term, we can consider providing a user an option to override this level per component.
The text was updated successfully, but these errors were encountered: