mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-23 02:28:07 +03:00
Despite requirement in OpenTelemetry spec that histograms should contain sum, [OpenTelemetry collector promremotewrite translator](37c8044abf/pkg/translator/prometheusremotewrite/helper.go (L222)) and [Prometheus OpenTelemetry parsing](d52e689a20/storage/remote/otlptranslator/prometheusremotewrite/helper.go (L264)) skip only sum if it's absent. Our current implementation drops buckets if sum is absent, which causes issues for users, that are expecting a similar to Prometheus behaviour ### Describe Your Changes Please provide a brief description of the changes you made. Be as specific as possible to help others understand the purpose and impact of your modifications. ### Checklist The following checks are **mandatory**: - [ ] My change adheres [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). --------- Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>