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 metric producers to meter_provider configuration #90

Merged
merged 4 commits into from
May 23, 2024

Conversation

dashpole
Copy link
Contributor

Part of open-telemetry/opentelemetry-specification#4015

Metric producers are registered to metric readers, so i've nested it under the periodic and manual readers.

@gouthamve @jack-berg

schema/meter_provider.json Outdated Show resolved Hide resolved
@dashpole dashpole marked this pull request as ready for review May 17, 2024 16:01
@dashpole dashpole requested a review from a team as a code owner May 17, 2024 16:01
schema/meter_provider.json Outdated Show resolved Hide resolved
schema/meter_provider.json Outdated Show resolved Hide resolved
schema/meter_provider.json Show resolved Hide resolved
examples/kitchen-sink.yaml Outdated Show resolved Hide resolved
examples/kitchen-sink.yaml Outdated Show resolved Hide resolved
Copy link

linux-foundation-easycla bot commented May 21, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@codeboten
Copy link
Contributor

/easycla

@codeboten codeboten merged commit 0941a0a into open-telemetry:main May 23, 2024
2 checks passed
Comment on lines +49 to 55
},
"producers": {
"type": "array",
"items": {
"$ref": "#/$defs/MetricProducer"
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Why is this needed here if already in the top level MetricReader? If it is required for pull (maybe to control at a granular level) why not for periodic as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#93

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for calling this out @bogdandrutu!

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.

None yet

4 participants