2020-03-07 08:01:02 +02:00
|
|
|
# OpenTelemetry Collector Go Exporter
|
|
|
|
|
2020-11-12 17:33:04 +02:00
|
|
|
[![PkgGoDev](https://pkg.go.dev/badge/go.opentelemetry.io/otel/exporters/otlp)](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp)
|
2020-03-07 08:01:02 +02:00
|
|
|
|
2020-05-29 19:13:00 +02:00
|
|
|
This exporter exports OpenTelemetry spans and metrics to the OpenTelemetry Collector.
|
2020-03-07 08:01:02 +02:00
|
|
|
|
2020-05-29 19:13:00 +02:00
|
|
|
## Installation and Setup
|
|
|
|
|
|
|
|
The exporter can be installed using standard `go` functionality.
|
2020-03-07 08:01:02 +02:00
|
|
|
|
|
|
|
```bash
|
2021-04-29 20:07:21 +02:00
|
|
|
go get -u go.opentelemetry.io/otel/exporters/otlp
|
2020-03-07 08:01:02 +02:00
|
|
|
```
|
2020-05-29 19:13:00 +02:00
|
|
|
|
|
|
|
A new exporter can be created using the `NewExporter` function.
|