Skip to content

feat(http): add http.server.request.time_in_queue attribute#267

Merged
dingsdax merged 2 commits intomainfrom
add-http-server-request-time-in-queue
Feb 25, 2026
Merged

feat(http): add http.server.request.time_in_queue attribute#267
dingsdax merged 2 commits intomainfrom
add-http-server-request-time-in-queue

Conversation

@dingsdax
Copy link
Contributor

@dingsdax dingsdax commented Feb 24, 2026

Description

Adds the http.server.request.time_in_queue semantic convention attribute to capture the time (in milliseconds) a request spent waiting in the server queue before processing began.

This attribute is populated from the X-Request-Start header set by reverse proxies (Nginx, HAProxy, Heroku router, etc.) and first introduced in sentry-ruby: getsentry/sentry-ruby#2838

PR Checklist

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate && yarn format to generate and format code and docs.

If an attribute was added:

  • The attribute is in a namespace (e.g. nextjs.function_id, not function_id)
  • I have used the correct value for pii (i.e. maybe or true. Use false only for values that should never be scrubbed such as IDs)

If an attribute was deprecated:

Adds the `http.server.request.time_in_queue` semantic convention attribute
to capture the time (in milliseconds) a request spent waiting in the server
queue before processing began.

This attribute is populated from the `X-Request-Start` header set by reverse
proxies (Nginx, HAProxy, Heroku router, etc.) and first introduced in
sentry-ruby: getsentry/sentry-ruby#2838

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Feb 24, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (http) Add http.server.request.time_in_queue attribute by dingsdax in #267

Bug Fixes 🐛

  • (gen_ai) Input and output token description by obostjancic in #261

Documentation 📚

  • Update README with up-to-date links by ericapisani in #258

Internal Changes 🔧

  • (deps) Bump svelte from 5.48.1 to 5.51.5 by dependabot in #260
  • (deps-dev) Bump tar from 7.5.7 to 7.5.8 by dependabot in #259

🤖 This preview updates automatically when you update the PR.

Copy link
Member

@mjq mjq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but you'll have to run yarn generate && yarn format to generate and format code and docs for your change before CI will pass.

…st.time_in_queue

Generate TypeScript and Python attribute definitions including type
exports, metadata entries, and TypedDict annotations.

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Member

@mjq mjq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🚢

@dingsdax dingsdax merged commit 4160099 into main Feb 25, 2026
15 checks passed
@dingsdax dingsdax deleted the add-http-server-request-time-in-queue branch February 25, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants