-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Load balance metrics for cumulative to delta #25858
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Pinging code owners for exporter/loadbalancing: @jpkrohling. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Do you think it's sufficient to take only the metric name into consideration, or should it take the resource attributes (names and values) as well? |
It should also have attributes. There could be one metric name which is 90% of all the metrics. We've seen this in Cortex. Before we used to only shard on metric name and this caused extreme hot spotting. We then switched to include the labels too. |
Given we have code for both logs and traces, I'm marking this as "good first issue" before working on that myself. |
@jpkrohling I would like to contribute on this one |
Does it make sense that routing based on Service and Routing based on Metric (+Resource attr/values) should be mutualy exclusive? When balancing metrics, if service routing is defined, it should only balance a subset of them ? |
@gouthamve, it would be nice to get your opinion, but I think the routing_key for metrics should be one of: service, metric, resource, attribute:
|
While it makes sense, which would be the default? I'd lean towards |
How about one routing key specific for metrics ? @jpkrohling @gouthamve |
I think I think we should not implement |
Closes #25858 **Description:** Add metrics exporter that will balance its metrics considering new routing choices **Link to tracking Issue:** #25858 **Testing:** Add tests for new routing choices and metrics exporter --------- Signed-off-by: Claudio B <[email protected]> Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Closes open-telemetry#25858 **Description:** Add metrics exporter that will balance its metrics considering new routing choices **Link to tracking Issue:** open-telemetry#25858 **Testing:** Add tests for new routing choices and metrics exporter --------- Signed-off-by: Claudio B <[email protected]> Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Component(s)
exporter/loadbalancing
Is your feature request related to a problem? Please describe.
The cumulative to delta processor cannot be scaled right because the same metrics need to end up in the same Collector. https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/cumulativetodeltaprocessor#warnings
Describe the solution you'd like
Extend the load balancing exporter to also support load balancing metrics.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: