Describe the bug
Metric Points are doubling from Receiver to Exporter persistence.
Steps to reproduce
I have one instance of the Collector.
I have a otlp receiver that is getting a 20k Metric Points Rate.
Processor memory_limiter Point Rate is 40k.
The Batch Metrics is 40k too.
The Exporter Point Rate is 40k.
The Exporter is ClickHouse and I can see 2 duplicate records for each point.
What did you expect to see?
I expect to see the Processor and Exporter Metric Point Rate to match Receiver.
What did you see instead?
I see double to rates, and duplicate metric points in ClickHouse/Exporter
select count(*) as count, MetricName, TimeUnix, Value, `Attributes`, ResourceAttributes
from otel.otel_metrics_local_sum
WHERE
TimeUnix > '2024-02-01 19:30:10' --
group by MetricName, TimeUnix, Value, `Attributes`, ResourceAttributes
having count(*) > 1
Can you add the debug exporter and look for duplicate datapoints? If you don't see any duplications with the debug exporter I would like to blame the clickhouse exporter and move this to Collector Contrib.
Describe the bug Metric Points are doubling from Receiver to Exporter persistence.
Steps to reproduce I have one instance of the Collector. I have a otlp receiver that is getting a 20k Metric Points Rate. Processor memory_limiter Point Rate is 40k. The Batch Metrics is 40k too. The Exporter Point Rate is 40k. The Exporter is ClickHouse and I can see 2 duplicate records for each point.
What did you expect to see? I expect to see the Processor and Exporter Metric Point Rate to match Receiver.
What did you see instead? I see double to rates, and duplicate metric points in ClickHouse/Exporter
What version did you use? v0.93.0
What config did you use?
Environment GKE
Additional context