Open andrzej-stencel opened 4 days ago
Pinging code owners:
exporter/elasticsearch: @JaredTan95 @ycombinator @carsonip
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Here was the implementation of metric merging we used in the initial metrics exporter POC https://github.com/strawgate/opentelemetry-collector-contrib/commit/5d1c3ff65f041967cca233b3a10ce62e4d0f17ed
Component(s)
exporter/elasticsearch
Is your feature request related to a problem? Please describe.
As implemented in https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/33755, metrics are exported to Elasticsearch so that a separate Elasticsearch document is created for each metric data point. We could improve the performance by grouping metrics that share the timestamp and the set of attributes in one document. For example, the following three metrics:
are currently sent in three separate documents, but they could be sent in one document.
Describe the solution you'd like
Instead of sending each metric data point in a separate document, let's group the metrics that share the timestamp and attributes.
Describe alternatives you've considered
No response
Additional context
No response