1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/exporters
Krzesimir Nowak 8d80981465
Move gRPC driver to a subpackage and add an HTTP driver (#1420)
* Move grpc stuff to separate package

* Drop duplicated retryable status code

* Set default port to 4317

This is what the specification says for both gRPC and HTTP.

* Document gRPC option type

* Add an HTTP protocol driver for OTLP exporter

Currently it supports only binary protobuf payloads.

* Move end to end test to a separate package

It also adds some common code mock collectors can use. This will be
useful for testing the HTTP driver.

* Move export data creators to otlptest

It also extends the one record checkpointer a bit. This will be useful
for testing the HTTP driver.

* Add an HTTP mock collector and tests for HTTP driver

* Update changelog

* Do not depend on DefaultTransport

We create our own instance of the transport, which is based on
golang's DefaultTransport. That way we sidestep the issue of the
DefaultTransport being modified/overwritten. We won't have any panics
at init. The cost of it is to keep the transport fields in sync with
DefaultTransport.

* Read the whole response body before closing it

This may help with connection reuse.

* Change options to conform to our style guide

* Add jitter to backoff time

* Test TLS option

* Test extra headers

* Fix a comment

* Increase coverage

* Add a source of the backoff strategy
2021-01-11 22:55:24 -05:00
..
metric/prometheus Bump github.com/prometheus/client_golang from 1.8.0 to 1.9.0 in /exporters/metric/prometheus (#1414) 2020-12-21 08:45:02 -08:00
otlp Move gRPC driver to a subpackage and add an HTTP driver (#1420) 2021-01-11 22:55:24 -05:00
stdout Add TraceState to SpanContext in API (#1340) 2020-12-21 13:11:48 -08:00
trace Bump google.golang.org/api from 0.32.0 to 0.36.0 in /exporters/trace/jaeger (#1398) 2020-12-14 08:21:38 -08: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.