Skip to content

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

Description

@rmelick-muon

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions