1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-14 10:13:10 +02:00
opentelemetry-go/exporters/otlp
Anderson Queiroz 7a0cee7b3a
Replaces golint by revive and fix newly reported linter issues (#1946)
* 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>
2021-06-08 10:10:01 -07:00
..
internal Replaces golint by revive and fix newly reported linter issues (#1946) 2021-06-08 10:10:01 -07:00
otlpgrpc Refactor configs (#1882) 2021-05-14 13:28:28 -07:00
otlphttp Replaces golint by revive and fix newly reported linter issues (#1946) 2021-06-08 10:10:01 -07:00
otlptrace Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
example_test.go Change NewSplitDriver paramater and initialization (#1798) 2021-04-23 14:51:55 -04:00
go.mod Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp (#1970) 2021-06-07 09:07:48 -07:00
go.sum Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp (#1970) 2021-06-07 09:07:48 -07:00
options.go Refactor configs (#1882) 2021-05-14 13:28:28 -07:00
optiontypes.go add support for env var configuration to otlp/gRPC (#1811) 2021-04-16 14:52:24 -07:00
otlp_metric_test.go Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
otlp_span_test.go Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
otlp_test.go Redefine ExportSpans of SpanExporter with ReadOnlySpan (#1873) 2021-05-04 16:45:13 -07:00
otlp.go Refactor configs (#1882) 2021-05-14 13:28:28 -07:00
protocoldriver.go Refactor configs (#1882) 2021-05-14 13:28:28 -07:00
README.md Implement retry policy for the OTLP/gRPC exporter (#1832) 2021-04-29 11:07:21 -07:00
retry.go Implement retry policy for the OTLP/gRPC exporter (#1832) 2021-04-29 11:07:21 -07:00

OpenTelemetry Collector Go Exporter

PkgGoDev

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.