Werk #18170: otel: Allow metrics of different instances of the same resource to be aggregated
Component | Checks & agents | ||||
Title | otel: Allow metrics of different instances of the same resource to be aggregated | ||||
Date | Jul 15, 2025 | ||||
Level | Trivial Change | ||||
Class | New Feature | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
When using the otel collector to collect resource metrics from an application that has multiple replicas*, currently only the last metric that has reached the collector will be used for the check, independent of replicas.
With this werk different replicas with the same metrics can be aggregated (min, max, sum, average). This way the last received metric of each replica will be used for the value of the check.
The default value will keep the old behavior and will use the last received metric independent of replicas.
*multiple replicas in this context means resource metrics that have different resource attributes beyond what is used for host name computation.