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
Tyler Yahn 0a9e861549
Update the OTLP exporter batching of traces (#623)
Instead of batching based on the Resource pointer which is not guaranteed
to uniquely identify common Resources, use the `String` method which is.

Renames the external test package to be identified as the integration
testing. This testing structure (the mock exporter) batches exported
resources transmitted from the resource. This is needed as there is no
guarantees that a batch will be exported in a single payload, therefore,
it is not an ideal place to add resource batch testing for the exporter
itself.

Add unit tests to ensure the Exporter is correctly batching spans by
resource.
2020-04-08 16:49:53 -07:00
..
internal/transform Update the OTLP exporter batching of traces (#623) 2020-04-08 16:49:53 -07:00
alignment_test.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
connection.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
doc.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
example_test.go update godoc.org links to pkg.go.dev (#602) 2020-03-30 15:40:38 -04:00
go.mod Prepare for releasing v0.4.2 (#608) 2020-03-31 12:57:37 -07:00
go.sum Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00
mock_collector_test.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
options.go Updated default port for OTLP exporter (#611) 2020-04-02 10:04:57 -07:00
otlp_integration_test.go Update the OTLP exporter batching of traces (#623) 2020-04-08 16:49:53 -07:00
otlp_span_test.go Update the OTLP exporter batching of traces (#623) 2020-04-08 16:49:53 -07:00
otlp.go Update project License headers and checking (#596) 2020-03-25 14:47:17 -07:00
README.md update godoc.org links to pkg.go.dev (#602) 2020-03-30 15:40:38 -04:00

OpenTelemetry Collector Go Exporter

GoDoc

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