You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I modified the last sleep statement for a 5 second sleep to avoid the reported crash. A curl of the endpoint localhost:2222 does not produce any output.
SDK version
>= 0.5.0
No issue with 0.4.3.
Repro step
Run prometheus example - https://github.com/open-telemetry/opentelemetry-go/blob/master/example/prometheus/main.go
Browse localhost:2222 to see the metrics after 1 minute
Expected Result
It should show the list of metrics on the browser without any panic.
Actual Result
This panic caused because buckets.Counts was nil
opentelemetry-go/exporters/metric/prometheus/prometheus.go
Line 326 in 6bc14ff
Adding
DefaultHistogramBoundaries
setting to prometheus config did not work.The text was updated successfully, but these errors were encountered: