mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-05 22:54:18 +02:00
d23cc61b93
* trace: Refactor sampling config * tracer: Refactor TracerProviderConfig * Update the changelog * Refactor sdk/metric/controller/basic config * Refactor sdk/metric/processor/basic config * Refactor sdk/resource config * Refactor oteltest config * Refactor exporters/otlp configs * Refactor exporters/stdout config * Refactor exporters/trace/jaeger configs * Refactor exporters/trace/zipkin config * Unexport stdout.NewConfig * Refactor zipkin.go * Refactor provider.go |
||
---|---|---|
.. | ||
internal | ||
otlpgrpc | ||
otlphttp | ||
doc.go | ||
example_test.go | ||
go.mod | ||
go.sum | ||
options.go | ||
optiontypes.go | ||
otlp_metric_test.go | ||
otlp_span_test.go | ||
otlp_test.go | ||
otlp.go | ||
protocoldriver.go | ||
README.md | ||
retry.go |
OpenTelemetry Collector Go Exporter
This exporter exports OpenTelemetry spans and metrics to the OpenTelemetry Collector.
Installation and Setup
The exporter can be installed using standard go
functionality.
go get -u go.opentelemetry.io/otel/exporters/otlp
A new exporter can be created using the NewExporter
function.