mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
6005d01854
This PR modifies prometheus.Collect to reflect the change introduced by #557. The `export{Counter,Histogram,LastValue,Summary}` methods now all return an error instead of calling the error callback directly. The callback is now only called on the returned error from `ForEach`. fixes #563 Co-authored-by: Rahul Patel <rahulpa@google.com> |
||
---|---|---|
.. | ||
go.mod | ||
go.sum | ||
prometheus_test.go | ||
prometheus.go | ||
README.md | ||
sanitize_test.go | ||
sanitize.go |
OpenTelemetry-Go Prometheus Exporter
OpenTelemetry Prometheus exporter
Installation
go get -u go.opentelemetry.io/otel/exporters/metric/prometheus