-
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
Description
cc @getsentry/team-javascript-sdks
SDK Changes Detected
The following PRs were merged to getsentry/sentry-javascript in the last 7 days that may affect the sentry-node-sdk skill:
- feat(node): Expose
headersToSpanAttributesoption onnativeNodeFetchIntegrationsentry-javascript#19770 — feat(node): ExposeheadersToSpanAttributesoption onnativeNodeFetchIntegration(feat(node): ExposeheadersToSpanAttributesoption onnativeNodeFetchIntegrationsentry-javascript#19770)
Potential Skill Gaps
- New Config Option:
nativeNodeFetchIntegration()now accepts aheadersToSpanAttributesoption to capture specific HTTP headers as span attributes. Example:This is especially relevant because response headers likeSentry.init({ integrations: [ Sentry.nativeNodeFetchIntegration({ headersToSpanAttributes: { requestHeaders: ['x-request-id', 'x-custom-header'], responseHeaders: ['content-length', 'content-type'], }, }), ], });
content-lengthwere previously captured automatically but became opt-in after@opentelemetry/instrumentation-undici@0.22.0. The skill's Config Reference does not mention any options fornativeNodeFetchIntegration.
Skill Files to Review
skills/sentry-node-sdk/SKILL.md
Priority
MEDIUM — new opt-in configuration option that users may need to restore previously-automatic header capture behavior.
Generated by SDK Skill Drift Detector · ◷
- expires on Mar 30, 2026, 11:02 PM UTC
Reactions are currently unavailable
Metadata
Metadata
Labels
Fields
Give feedbackNo fields configured for issues without a type.