1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/example
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
..
jaeger Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
namedtracer Add baggage implementation based on the W3C and OpenTelemetry specification (#1967) 2021-06-08 08:06:37 -07:00
opencensus add otlp trace http exporter (#1963) 2021-06-07 07:57:58 -07:00
otel-collector 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
passthrough add otlp trace http exporter (#1963) 2021-06-07 07:57:58 -07:00
prom-collector 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
prometheus Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0 in /exporters/metric/prometheus (#1974) 2021-06-07 08:41:38 -07:00
zipkin Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00