1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-04 09:43:23 +02:00
opentelemetry-go/exporters
Matej Gera 7d8e6bd781
Zipkin Exporter: Adjust span transformation to comply with the spec (#1688)
* Adjust instrumentation lib name / version key

* Adjust array attribute serialization

* Adjust span status mapping

- remove `otel.status_description`; use `error` instead for description
- do not report status code if unset
- do not report description if OK or unset
- omit tags if no tag has been mapped
- adjust tests

* Set remote endpoint according to the spec

- See
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk_exporters/zipkin.md#remote-endpoint

* Fix remaining tests

* Update CHANGELOG

* Add some more tests

* Address PR feedback

- Simplify deletion of redundant error code
- Simplify endpoint rank determination

* More tests for remote endpoint
2021-04-07 13:33:15 -04:00
..
metric/prometheus Refactor prometheus exporter tests to match file headers as well (#1470) 2021-04-06 16:40:12 -07:00
otlp Merge sdk/export/trace into sdk/trace (#1778) 2021-04-07 08:03:43 -07:00
stdout Merge sdk/export/trace into sdk/trace (#1778) 2021-04-07 08:03:43 -07:00
trace Zipkin Exporter: Adjust span transformation to comply with the spec (#1688) 2021-04-07 13:33:15 -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.