1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-18 16:47:18 +02:00
opentelemetry-go/exporters/prometheus
csuzhang d5d4c87f6d
Add HTTP metrics exporter for OTLP (#2022)
* add HTTP support for OTLP metrics exporter

* add to changelog

* fix unit test not covered before

* add otlpmetrichttp module to .github/dependabot.yml

* add test file for client.go

* run make commit to clean repository

* fix err occurs in TestCancelledContext

* fix err in TestCancelledContext which is nil

* fix err in TestCancelledContext which is nil, occurs occasionally

* fix unittest err in TestCancelledContext which occurs occasionally

* fix ineffectual assignment to err when running lint

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update exporters/otlp/otlpmetric/otlpmetrichttp/doc.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update exporters/otlp/otlpmetric/otlpmetrichttp/doc.go

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* del options that not used in http exporter metrics

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-22 11:45:17 -07:00
..
go.mod Add HTTP metrics exporter for OTLP (#2022) 2021-06-22 11:45:17 -07:00
go.sum Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
prometheus_test.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
prometheus.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
README.md Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
sanitize_test.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00
sanitize.go Deprecate the exporters in the "trace" and "metric" sub-directories (#1993) 2021-06-12 11:39:22 -07:00

OpenTelemetry-Go Prometheus Exporter

OpenTelemetry Prometheus exporter

Installation

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