Skip to content

Ensure SDKs emit url and route attributes on http.server spans #22417

Closed

Description

@Lms24

This should already be the case but let's double check that we can infer good span descriptions by ensuring that we emit the necessary attributes:

  • http.route (still needs to be added to conventions but I'll take care of this separately)
  • url.template
  • url.path
  • url.full

Activity

  1. self-assigned this
    on Jul 21, 2026
  2. added
    javascriptPull requests that update javascript code
    on Jul 21, 2026
  3. linear-code commented on Jul 21, 2026

    @linear-code
  4. sentry-pierre commented on Jul 21, 2026

    @sentry-pierre

    The core http.server span paths in server-subscription.ts and httpServerSpansIntegration.ts set http.route but skip url.path and url.template. url.full is currently handled indirectly via requestDataIntegration.processSegmentSpan, though it’s also absent from the initial span attributes. Bun and the edge runtimes already fill all four via getHttpSpanDetailsFromUrlObject; the Node/core server paths are the ones still catching up.

  5. added a commit that references this issue on Jul 23, 2026
    7f55ee8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions