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 ability to limit resource attribute length in metrics #4378

Open
zeitlinger opened this issue Jan 20, 2025 · 0 comments
Open

Add ability to limit resource attribute length in metrics #4378

zeitlinger opened this issue Jan 20, 2025 · 0 comments
Labels
spec:metrics Related to the specification/metrics directory triage:deciding:community-feedback Open to community discussion. If the community can provide sufficient reasoning, it may be accepted

Comments

@zeitlinger
Copy link
Member

What are you trying to achieve?

Limiting the length of metric attributes is problematic, because it can load to duplicates.

Resource attributes don't have this problem however.
You only need a couple of attributes to identify a service (e.g. service.name, service.instance.id)

For the rest of the attributes, duplicates are not an issue.

@zeitlinger zeitlinger added the spec:metrics Related to the specification/metrics directory label Jan 20, 2025
@trask trask added the triage:deciding:community-feedback Open to community discussion. If the community can provide sufficient reasoning, it may be accepted label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:metrics Related to the specification/metrics directory triage:deciding:community-feedback Open to community discussion. If the community can provide sufficient reasoning, it may be accepted
Projects
None yet
Development

No branches or pull requests

2 participants