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

Consider supporting an Alias functionality for Semantic Conventions #245

Open
tylerbenson opened this issue Aug 10, 2023 · 2 comments
Open
Assignees

Comments

@tylerbenson
Copy link
Member

There have been many times that we have renamed semantic conventions. Usually this is done via deprecating an old name and adding a new one. With the addition/migration of ECS I think this is going to be a lot more common.

I suggest we introduce an alias concept to the semantic conventions. This can enable multiple names to be used as keys that get automatically mapped to the canonical name.

For cases where units are inconsistent, we could even add a numerical scale to enable automatic conversion between seconds -> milliseconds for example.

If there's enough interest in this idea, I can try to draft up a more detailed proposal.

@tylerbenson
Copy link
Member Author

Sounds like the intention is to handle this via the schema mapping files instead:
https://github.com/open-telemetry/semantic-conventions/tree/main/schemas

Is this mapping implemented anywhere?

@github-actions github-actions bot added the Stale label Feb 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 25, 2024
@joaopgrassi joaopgrassi removed the Stale label Feb 26, 2024
@joaopgrassi
Copy link
Member

This was closed by mistake by the stale bot. Re-opening

@joaopgrassi joaopgrassi reopened this Feb 26, 2024
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

No branches or pull requests

3 participants