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/internal/transform
Tyler Yahn c9dcc1be28
Move span transforms of the OTLP exporter to internal (#593)
* Move span transforms of the OTLP exporter to internal

Breakup and move functionality of the `transform_spans.go` file into
appropriate files in the `internal/transform` sub-package. This is in
preparation of using some of the overlapping functionality to implement
Resource support in the metric side of the exporter.

Adds more specific unit tests for some of the functionality transferred.
The tests removed used the exporter as a processing engine and the
replacement tests do not do this. The test found in the `oltp_test.go`
seem to comprehensively cover this type of test.

Include Link `Name` in the exporter span link and adds a test to check
for this.

Resolves #527

* Apply suggestions from code review

Co-Authored-By: Rahul Patel <rghetia@yahoo.com>

* Fix SpanData doc

* Consolidate span comparison

Co-authored-by: Rahul Patel <rghetia@yahoo.com>
Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
2020-03-25 09:04:31 -07:00
..
attribute_test.go Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00
attribute.go Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00
metric_test.go Kick label encoder out of sdk (#574) 2020-03-24 09:30:12 -07:00
metric.go Replace Ordered with an iterator in export.Labels. (#567) 2020-03-19 15:01:34 -07:00
resource_test.go Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00
resource.go Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00
span_test.go Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00
span.go Move span transforms of the OTLP exporter to internal (#593) 2020-03-25 09:04:31 -07:00