1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/exporters
JBD a2c75c6d78
Unexport NoopXXX trace types (#1134)
* Unexport NoopXXX trace types

The change unexports the noop implementations and provide the NoopProvider function for user to construct noop providers. Users can access noop tracer and noop spans by using the provider.

This change removes the types users should never be directly using from the package. It improves the usability of the API by reducing the API surface to half and helping the user to focus on the canonical APIs.

Fixes #1133

* Provide noop tracer and span for internal use

* Remove obsolete doc

* Use noop span instead of nil

* Fix the broken  build
2020-09-08 20:43:35 -04:00
..
metric/prometheus Bump google.golang.org/grpc from 1.31.0 to 1.31.1 in /sdk (#1105) 2020-08-27 12:19:01 -07:00
otlp Rename global SetTraceProvider and TraceProvider (#1102) 2020-08-31 10:02:04 -07:00
stdout Rename global SetTraceProvider and TraceProvider (#1102) 2020-08-31 10:02:04 -07:00
trace Unexport NoopXXX trace types (#1134) 2020-09-08 20:43:35 -04:00
README.md Unify trace and metric stdout exporters (#956) 2020-07-22 12:34:44 -07:00

Exporters

Included in this directory are exporters that export both metric and trace telemetry.

  • stdout: Writes telemetry to a specified local output as structured JSON.
  • otlp: Sends telemetry to an OpenTelemetry collector as OTLP.

Additionally, there are metric and trace only exporters.

Metric Telemetry Only

  • prometheus: Exposes metric telemetry as Prometheus metrics.
  • test: A development tool when testing the telemetry pipeline.

Trace Telemetry Only

  • jaeger: Sends properly transformed trace telemetry to a Jaeger endpoint.
  • zipkin: Sends properly transformed trace telemetry to a Zipkin endpoint.