Skip to content

[exporter/prometheusremotewriteexporter] Go Panic when transmitting Histogram with no buckets #12168

Closed
@falken

Description

While testing the sending of metric data through a pipeline of

Java Application -> Micrometer -> Micrometer Otlp -> Otel Collector Otlp receiver -> PrometheusRemoteWriter exporter

We found that one of the Histograms was incorrectly being sent, causing the remote write exporter to crash.

Our expectation was that this metric would be dropped.

Instead Collector crashes with a Go Panic. Because these metrics are transmitted every minute our Collector would restart and be killed constantly. This blocks other applications from being able to submit to the collector.

Version: v0.54.0

Environment
OS: Collector Docker Container

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions