Skip to content

frontend: Duplicate server spans & high-cardinality span names on next.js spans #2189

Open
@cedricziel

Description

@cedricziel

Bug Report

Image

The frontend service produces a semantically incorrect trace where it has 2 kind=server spans AND it produces high-cardinality span names for spans produced by the next.js instrumentation.

Symptom

A clear and concise description of what the bug is.

What is the expected behavior?

  1. ONE server span, not two
  2. no high-cardinality spans

What is the actual behavior?

Please describe the actual behavior experienced.

Reproduce

Run the demo, observe that calls to /api/cart produce server spans with query parameters and there's 2 server spans.

Additional Context

Please feel free to add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions