1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/exporters
Andy Schweig 5438916f62
Expose optional ResponseWriter interfaces. (#979)
http.ResponseWriters may implement additional interfaces
(http.CloseNotifier, http.Flusher, http.Hijacker, http.Pusher,
io.ReaderFrom) that get lost when the ResponseWriter is wrapped in
another object. This change uses the httpsnoop package to wrap the
ResponseWriter so that the resulting object implements any of the
optional interfaces that the original ResponseWriter implements as
well as using the replacement ResponseWriter methods that gather
information for tracing.
2020-07-30 10:30:47 -07:00
..
metric/prometheus Expose optional ResponseWriter interfaces. (#979) 2020-07-30 10:30:47 -07:00
otlp Expose optional ResponseWriter interfaces. (#979) 2020-07-30 10:30:47 -07:00
stdout Expose optional ResponseWriter interfaces. (#979) 2020-07-30 10:30:47 -07:00
trace Expose optional ResponseWriter interfaces. (#979) 2020-07-30 10:30:47 -07: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.