InfluxDB exporter: histogram records counts are not monotonic #2022
Labels
bug
Something isn't working
comp:exporter.influxdb
Things related to OpenTelemetry.Exporter.InfluxDB
Component
OpenTelemetry.Exporter.InfluxDB
Package Version
Runtime Version
net6.0
Description
I'm trying to display data using InfluxDB UI like in this example that was generated using
OpenTelemetry.Instrumentation.AspNetCore
but I get an error "histogram records counts are not monotonic"Other data in my database (imported using Scapers from Prometheus) displays correctly.
Steps to Reproduce
A simple application setup is sufficient:
And the query that I send to InfluxDB:
Expected Result
I think the problem is in the incorrect saving of data. For example, currently the metrics
http.server.request.duration_bucket
,http.server.request.duration_sum
andhttp.server.request.duration_count
are separate fields, while Scapers in InfluxDB importssum
andcount
as tags forhttp_request_duration_seconds
Actual Result
histogram records counts are not monotonic
Additional Context
No response
The text was updated successfully, but these errors were encountered: