Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add schema_url fields as described in OTEP 0152 #298

Conversation

tigrannajaryan
Copy link
Member

This adds schema_url fields introduced in OTEP 0152 (Telemetry Schemas):
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md#otlp-changes

@tigrannajaryan tigrannajaryan requested review from a team, zenmoto, kumoroku and gramidt April 30, 2021 20:59
Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Copy link
Member

@gramidt gramidt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@tigrannajaryan
Copy link
Member Author

I have just chatted with @bogdandrutu and he had some ideas that may result in putting schema_url inside InstrumentationLibrary message instead of InstrumentationLibraryXXX message (no difference in semantics).
Please don't merge this yet, while I am thinking about it.

@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/add-schema-url branch from 5ad3f14 to dd92c01 Compare May 6, 2021 18:10
@tigrannajaryan
Copy link
Member Author

Reviewers, please have another look. I will keep this open for 2 days just in case there are objections to the last change.

tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 6, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:
- Populate the schema_url field in the OTLP after this PR
  open-telemetry/opentelemetry-proto#298
  is merged and the field is available in the proto message.
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 6, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:
- Populate the schema_url field in the OTLP after this PR
  open-telemetry/opentelemetry-proto#298
  is merged and the field is available in the proto message.
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 6, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:
- Populate the schema_url field in the OTLP after this PR
  open-telemetry/opentelemetry-proto#298
  is merged and the field is available in the proto message.
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 6, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:

Populate the schema_url field in the OTLP after this PR
open-telemetry/opentelemetry-proto#298
is merged and the field is available in the proto message.
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 6, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:

Populate the schema_url field in the OTLP after this PR
open-telemetry/opentelemetry-proto#298
is merged and the field is available in the proto message.

This is the first in the series of changes that are necessary to add
support for schemas in Go SDK. Subsequent PRs will add support in Meter
and Resource. We will also see if we can find a good way to group
semantic conventions with the schema version that declares them.
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-specification that referenced this pull request May 7, 2021
This adds to the API and SDK the changes proposed in OTEP 0152:
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md

Corresponding changes to the proto repository are here:
open-telemetry/opentelemetry-proto#298
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 7, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:

Populate the schema_url field in the OTLP after this PR
open-telemetry/opentelemetry-proto#298
is merged and the field is available in the proto message.

This is the first in the series of changes that are necessary to add
support for schemas in Go SDK. Subsequent PRs will add support in Meter
and Resource. We will also see if we can find a good way to group
semantic conventions with the schema version that declares them.
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-specification that referenced this pull request May 11, 2021
This adds to the API and SDK the changes proposed in OTEP 0152:
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md

Corresponding changes to the proto repository are here:
open-telemetry/opentelemetry-proto#298
@jmacd
Copy link
Contributor

jmacd commented May 12, 2021

@tigrannajaryan Do you want this to merge and release in v0.9? The metrics group would like to release v0.9 very soon. Thanks!

@tigrannajaryan
Copy link
Member Author

We have the necessary number of approvals and all comments are resolved, so merging.

@tigrannajaryan tigrannajaryan merged commit bacfe08 into open-telemetry:main May 12, 2021
@tigrannajaryan tigrannajaryan deleted the feature/tigran/add-schema-url branch May 12, 2021 17:59
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-specification that referenced this pull request May 12, 2021
This adds to the API and SDK the changes proposed in OTEP 0152:
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md

Corresponding changes to the proto repository are here:
open-telemetry/opentelemetry-proto#298
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-specification that referenced this pull request May 14, 2021
This adds to the API and SDK the changes proposed in OTEP 0152:
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md

Corresponding changes to the proto repository are here:
open-telemetry/opentelemetry-proto#298
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-specification that referenced this pull request May 17, 2021
This adds to the API the changes proposed in OTEP 0152:
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md

Corresponding changes to the proto repository are here:
open-telemetry/opentelemetry-proto#298
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-specification that referenced this pull request May 18, 2021
This adds to the API the changes proposed in OTEP 0152:
https://github.com/open-telemetry/oteps/blob/main/text/0152-telemetry-schemas.md

Corresponding changes to the proto repository are here:
open-telemetry/opentelemetry-proto#298
tigrannajaryan added a commit to open-telemetry/opentelemetry-specification that referenced this pull request May 18, 2021
tigrannajaryan added a commit to tigrannajaryan/opentelemetry-go that referenced this pull request May 19, 2021
[Do not merge, this is a draft to get maintainers' feedback]

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

TODO:

Populate the schema_url field in the OTLP after this PR
open-telemetry/opentelemetry-proto#298
is merged and the field is available in the proto message.

This is the first in the series of changes that are necessary to add
support for schemas in Go SDK. Subsequent PRs will add support in Meter
and Resource. We will also see if we can find a good way to group
semantic conventions with the schema version that declares them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants