mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-14 10:13:10 +02:00
7a0cee7b3a
* replaces golint by revive and fix newly reported linter issues * add pull request ID to CHANGELOG.md * Update internal/matchers/temporal_matcher.go Co-authored-by: Robert Pająk <pellared@hotmail.com> * fix pull request issues * explains why the linter is disabled * Update semconv/http.go Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> * Update metric/unit/unit.go Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> * restores 'example/passthrough/go.sum' to original state * fix after rebase * export ErrInvalidAsyncRunner again and add nolint * Update trace/tracestate.go Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> * Update sdk/metric/sdk.go Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com> * Fix ContextWithoutBaggage comment * Fix SpanEndOption comment Co-authored-by: Robert Pająk <pellared@hotmail.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> Co-authored-by: Aaron Clawson <Aaron.Clawson@gmail.com> Co-authored-by: Tyler Yahn <codingalias@gmail.com> |
||
---|---|---|
.. | ||
internal | ||
otlpgrpc | ||
otlphttp | ||
otlptrace | ||
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.