Skip to content

HTTP request headers not extracted as span attributes on Bun #19321

Closed

Description

@chargome

Inbound HTTP request headers (e.g. User-Agent, custom headers) are not populated as http.request.header.* attributes on server spans. The OTel HTTP instrumentation doesn't extract these when running on Bun.

Activity

  1. self-assigned this
    on Feb 13, 2026
  2. linear commented on Feb 13, 2026

    @linear
  3. mydea commented on Oct 23, 2026

    @mydea
    Member

    This is fixed: Bun.serve spans set http.request.header.* attributes, and node:http servers on Bun get them via bunHttpServerIntegration (#22870). Closing, feel free to reopen if you still see headers missing.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions