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

[mdatagen] Refactor new metrics builder internal structures #6904

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Dec 19, 2021

Move metric specific logic from functions to internal metric struct methods. This encapsulation makes the metrics builder logic cleaner and also allows future evolvement of user settings support.

Link to tracking Issue: open-telemetry/opentelemetry-collector#10904

@dmitryax dmitryax requested a review from a team December 19, 2021 03:54
@dmitryax dmitryax changed the title [mdatagen] Refactor new metrics generator internal structures [mdatagen] Refactor new metrics builder internal structures Dec 19, 2021
Move metric specific logic from functions to internal metric struct methods. This encapsulation makes the logic of metrics builder cleaner and also allows future evolvement of user settings support.
@bogdandrutu bogdandrutu merged commit f94acf9 into open-telemetry:main Dec 20, 2021
@dmitryax dmitryax deleted the refactor-mdata-gen branch December 21, 2021 04:08
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.

4 participants