Skip to content

Exemplars should treat trace_id and span_id as fields instead of tags. #320

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

Open
rmelick-muon opened this issue Mar 13, 2025 · 0 comments
Open

Comments

@rmelick-muon
Copy link

We recently deployed auto instrumentation of the python requests library to one of our services, and noticed that this caused our cardinality within Influx to explode. We traced the issue down to the metric http.client.duration_exemplar, and the two tags trace_id and span_id. Since the trace id and span id are unique values, I think that treating them as tags is violating the recommended schema design, and they should be set as fields instead.

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

1 participant