mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-14 10:13:10 +02:00
19 lines
633 B
Markdown
19 lines
633 B
Markdown
|
# OpenTelemetry Collector Go Exporter
|
||
|
|
||
|
[![GoDoc][godoc-image]][godoc-url]
|
||
|
|
||
|
|
||
|
This exporter converts OpenTelemetry [SpanData](https://github.com/open-telemetry/opentelemetry-go/blob/6769330394f78192df01cb59299e9e0f2e5e977b/sdk/export/trace/trace.go#L49)
|
||
|
to OpenTelemetry Protocol [Span](https://github.com/open-telemetry/opentelemetry-proto/blob/c20698d5bb483cf05de1a7c0e134b7c57e359674/opentelemetry/proto/trace/v1/trace.proto#L46)
|
||
|
and exports them to OpenTelemetry Collector.
|
||
|
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
```bash
|
||
|
$ go get -u go.opentelemetry.io/otel/exporters/otlp
|
||
|
```
|
||
|
|
||
|
[godoc-url]: https://godoc.org/go.opentelemetry.io/otel/exporters/otlp
|
||
|
|