1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/exporters/otlp
Krzesimir Nowak d648712cf2
Kick label encoder out of sdk (#574)
* Temporarily opt-out export.Labels from label encoding stuff

* Stop passing label encoding stuff to export.Labels

* Drop label encoding stuff from SDK

* Dogstatd exporter does not need to implement label exporter anymore

* more dogstatd exporter fixes

* export labels get back to encoding stuff

in a lame way, but improvements are coming in following commits

* Get encoded labels through export.Labels

* make SDK to provide its own implementation of export.Labels

* drop dead code

* add noop label exporter

* make export simple labels immutable

* Move the default label encoder to export package

* Simplify the simple export labels a bit

* Reserve some label exporter IDs

* Document and shuffle the code a bit

* Prepare for bring the iterator benchmark test back

We can install a callback to the Batcher's process function - this is
the place where we can access the labels, and thus test the label
iterator.

* Bring back the iterator benchmarks

* Simplifications and docs

* Fix copyright to be consistent with the rest

* Fix typo

* Put reserved label encoder IDs into constants

We get fewer comments about magic numbers that way.

* Fix the label encoder as label exporter thinko
2020-03-24 09:30:12 -07:00
..
internal/transform Kick label encoder out of sdk (#574) 2020-03-24 09:30:12 -07:00
alignment_test.go opentelemetry collector trace exporter (#497) 2020-03-06 22:01:02 -08:00
connection.go opentelemetry collector trace exporter (#497) 2020-03-06 22:01:02 -08:00
doc.go opentelemetry collector trace exporter (#497) 2020-03-06 22:01:02 -08:00
example_test.go add shorter version for global providers (#538) 2020-03-11 08:23:32 -07:00
go.mod update to proto v0.3.0 (#588) 2020-03-24 08:45:07 -07:00
go.sum update to proto v0.3.0 (#588) 2020-03-24 08:45:07 -07:00
mock_collector_test.go update to proto v0.3.0 (#588) 2020-03-24 08:45:07 -07:00
options.go Add metrics support to the OTLP exporter (#544) 2020-03-13 11:42:20 -07:00
otlp_test.go Kick label encoder out of sdk (#574) 2020-03-24 09:30:12 -07:00
otlp.go update to proto v0.3.0 (#588) 2020-03-24 08:45:07 -07:00
README.md opentelemetry collector trace exporter (#497) 2020-03-06 22:01:02 -08:00
transform_spans_test.go update to proto v0.3.0 (#588) 2020-03-24 08:45:07 -07:00
transform_spans.go update to proto v0.3.0 (#588) 2020-03-24 08:45:07 -07:00

OpenTelemetry Collector Go Exporter

![GoDoc][godoc-image]

This exporter converts OpenTelemetry SpanData to OpenTelemetry Protocol Span and exports them to OpenTelemetry Collector.

Installation

$ go get -u go.opentelemetry.io/otel/exporters/otlp