mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
5850278197
* opentelemetry collector exporter - missing load test - missing resources * fix review comments. * add test for each SpanKind and Attribute Type. * rename otelcol to otlp * move exporter/trace/otlp to exporters/otlp * more review comments. * add alignment test. * pass context to uploadSpans
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
|
|
|