mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-12 10:04:29 +02:00
d3b1280863
* Add passthrough example * Update example/passthrough/handler/handler.go Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> * Update example/passthrough/README.md Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Robert Pająk <pellared@hotmail.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> Co-authored-by: Robert Pająk <pellared@hotmail.com> |
||
---|---|---|
.. | ||
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.