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/otlptrace
Tigran Najaryan 46d9687a35
Add Schema URL support to Resource (#1938)
This implements specification requirement:
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-creation

- Changes `resource.NewWithAttributes` to require a schema URL. The old function
  is still available as `resource.NewSchemaless`. This is a breaking change.
  We want to encourage using schema URL and make it a conscious choice to have a
  resource without schema.

- Merge schema URLs acccording to the spec in resource.Merge.

- Several builtin resource detectors now correctly populate the schema URL.

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2021-06-08 09:46:42 -07:00
..
internal Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
otlptracegrpc Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp/otlptrace (#1972) 2021-06-07 09:28:36 -07:00
otlptracehttp Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp/otlptrace (#1972) 2021-06-07 09:28:36 -07:00
clients.go OTLP trace gRPC exporter (#1922) 2021-05-27 13:47:01 -07:00
exporter_test.go OTLP trace gRPC exporter (#1922) 2021-05-27 13:47:01 -07:00
exporter.go OTLP trace gRPC exporter (#1922) 2021-05-27 13:47:01 -07:00
go.mod Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp/otlptrace (#1972) 2021-06-07 09:28:36 -07:00
go.sum Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 in /exporters/otlp/otlptrace (#1972) 2021-06-07 09:28:36 -07:00