Skip to content

TraceQL Metrics exemplar distribution is skewed #4856

@javiermolinar

Description

@javiermolinar

Describe the bug
Exemplars from TraceQL metrics are not homogeneously distributed across the series but instead cluster towards the right/left side, leading to potential biases in analysis.

Exemplars sometimes appear on the left side and other times on the right, meaning the sampling decision directly impacts their distribution

Image

Showing all the series:

Image

To Reproduce

  1. Run a TraceQL metrics query that returns many series with exemplars
  2. Check the exemplars distribution

Expected behavior
Exemplars are distributed homogeneously

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepaliveLabel to exempt Issues / PRs from stale workflowstaleUsed for stale issues / PRstraceqltype/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions