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

Ensure hostmetricsreceiver sets SchemaURL #6482

Merged

Conversation

tigrannajaryan
Copy link
Member

This changes ensures that all metrics produced by hostmetricsreceiver
set the SchemaURL.

If no specific SchemaURL is set we assume all collected host metrics
confirm to our default SchemaURL. The assumption is that the code that
produces these metrics uses semantic conventions defined in
package "conventions".

This is a remake of closed PR open-telemetry/opentelemetry-collector#3819

This changes ensures that all metrics produced by hostmetricsreceiver
set the SchemaURL.

If no specific SchemaURL is set we assume all collected host metrics
confirm to our default SchemaURL. The assumption is that the code that
produces these metrics uses semantic conventions defined in
package "conventions".
@tigrannajaryan tigrannajaryan marked this pull request as ready for review December 1, 2021 20:11
@tigrannajaryan tigrannajaryan requested review from a team and kbrockhoff December 1, 2021 20:11
@tigrannajaryan
Copy link
Member Author

@codeboten @bogdandrutu you reviewed the original PR, please review this remake of it.

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for bringing this PR back 👍

@codeboten codeboten merged commit bb386a3 into open-telemetry:main Dec 2, 2021
@tigrannajaryan tigrannajaryan deleted the hostmetrics-schema-url branch December 2, 2021 16:56
jamesmoessis pushed a commit to atlassian-forks/opentelemetry-collector-contrib that referenced this pull request Dec 8, 2021
This changes ensures that all metrics produced by hostmetricsreceiver
set the SchemaURL.

If no specific SchemaURL is set we assume all collected host metrics
confirm to our default SchemaURL. The assumption is that the code that
produces these metrics uses semantic conventions defined in
package "conventions".
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.

3 participants