1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/exporters/metric/prometheus
Oncilla 6005d01854
prometheus: check return value from CheckpointSet.ForEach (#622)
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>
2020-04-07 10:58:49 -07:00
..
go.mod Prepare for releasing v0.4.2 (#608) 2020-03-31 12:57:37 -07:00
go.sum update to v0.2.3 (#512) 2020-03-04 16:12:25 -05:00
prometheus_test.go prometheus: add histogram support to exporter (#601) 2020-04-01 14:36:37 -07:00
prometheus.go prometheus: check return value from CheckpointSet.ForEach (#622) 2020-04-07 10:58:49 -07:00
README.md Rename the exporter directory to exporters (#502) 2020-03-02 13:54:57 -08:00
sanitize_test.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00
sanitize.go Update License header for all source files (#586) 2020-03-23 22:41:10 -07:00

OpenTelemetry-Go Prometheus Exporter

OpenTelemetry Prometheus exporter

Installation

go get -u go.opentelemetry.io/otel/exporters/metric/prometheus