1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-29 23:07:45 +02:00

Add schema URL support to Tracer (#1889)

This adds support for schema URL to the Tracer according to the specification:
https://github.com/open-telemetry/opentelemetry-specification/pull/1666
(Link to replaced by the link to the spec after that PR is merged)

For the future: once the proto is updated we will need to populate the
schema_url field in the messages.
This commit is contained in:
Tigran Najaryan
2021-05-27 15:22:38 -04:00
committed by GitHub
parent c1f460e097
commit bd935866f4
11 changed files with 55 additions and 8 deletions

View File

@@ -32,4 +32,6 @@ type Library struct {
Name string
// Version is the version of the instrumentation library.
Version string
// SchemaURL of the telemetry emitted by the library.
SchemaURL string
}