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

Allow mdatagen to generate packages with names other than metadata #11231

Closed
braydonk opened this issue Sep 20, 2024 · 0 comments · Fixed by #11232
Closed

Allow mdatagen to generate packages with names other than metadata #11231

braydonk opened this issue Sep 20, 2024 · 0 comments · Fixed by #11232

Comments

@braydonk
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In contrib, receivers will soon need to make shifts in the metrics they produce to align with Semantic Conventions. Depending on what exact changes are necessary, this is really hard to do with only one metadata package, especially if you want to not break existing usage.

Describe the solution you'd like
I would like mdatagen to be able to generate packages with names other than metadata. This would allow receivers making the semconv transition to have an entirely separate yaml file and generated package with the semconv version of the produced metrics, and for example control the produced set of metrics via featuregate.

Describe alternatives you've considered
I already tried to do this all in one metadata.yaml and metadata package, but it was messy and in some cases had conflicts that were impossible to reconcile.

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 a pull request may close this issue.

1 participant