1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-28 08:38:51 +02:00
opentelemetry-go/semconv
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
..
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
exception.go Semantic Convention generation tooling (#1891) 2021-05-12 19:10:56 -04:00
http_test.go Do not include authentication information in the http.url attribute (#1919) 2021-05-13 13:05:44 -04:00
http.go Do not include authentication information in the http.url attribute (#1919) 2021-05-13 13:05:44 -04:00
resource.go Semantic Convention generation tooling (#1891) 2021-05-12 19:10:56 -04:00
schema.go Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
trace.go Semantic Convention generation tooling (#1891) 2021-05-12 19:10:56 -04:00