Skip to content

Conversation

@kakadiadarpan
Copy link

@kakadiadarpan kakadiadarpan commented Nov 24, 2025

This PR introduces a new option, shouldDisableAutomaticFetchInstrumentation, across multiple packages. The value is determined by the environment variable VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION. This flag allows us to disable auto instrumentation of outgoing HTTP requests when an application contains manual instrumentation setup.

Follow up to: #13271

This update introduces a new option, `shouldDisableAutomaticFetchInstrumentation`, across multiple packages. The value is determined by the environment variable `VERCEL_TRACING_DISABLE_AUTOMATIC_FETCH_INSTRUMENTATION`. This allows users to control fetch instrumentation behavior in their serverless functions.
@changeset-bot
Copy link

changeset-bot bot commented Nov 24, 2025

🦋 Changeset detected

Latest commit: d3ea01e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 16 packages
Name Type
@vercel/static-build Patch
@vercel/build-utils Patch
@vercel/backends Patch
@vercel/redwood Patch
@vercel/remix-builder Patch
@vercel/next Patch
@vercel/node Patch
vercel Patch
@vercel/client Patch
@vercel/elysia Patch
@vercel/express Patch
@vercel/fastify Patch
@vercel/gatsby-plugin-vercel-builder Patch
@vercel/h3 Patch
@vercel/hono Patch
@vercel/nestjs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Nov 24, 2025

🧪 Test Strategy

Comparing: 8da58ffd3ea01e (view diff)

Strategy: Infrastructure changes detected - running ALL tests

⚠️ Infrastructure or core utility changes were detected, so we're running the full test suite to ensure integration between packages is properly tested.

Affected packages (38): All packages will be tested

Includes:

  1. @vercel-internals/get-package-json
  2. @vercel/backends
  3. @vercel/build-utils
  4. @vercel/cervel
  5. @vercel/cli-auth
  6. @vercel/client
  7. @vercel/detect-agent
  8. @vercel/edge
  9. @vercel/elysia
  10. @vercel/error-utils
  11. @vercel/express
  12. @vercel/fastify
  13. @vercel/firewall
  14. @vercel/frameworks
  15. @vercel/fs-detectors
  16. @vercel/functions
  17. @vercel/gatsby-plugin-vercel-builder
  18. @vercel/go
  19. @vercel/h3
  20. @vercel/hono
  21. @vercel/hydrogen
  22. @vercel/introspection
  23. @vercel/nestjs
  24. @vercel/next
  25. @vercel/node
  26. @vercel/oidc
  27. @vercel/oidc-aws-credentials-provider
  28. @vercel/python
  29. @vercel/redwood
  30. @vercel/related-projects
  31. @vercel/remix-builder
  32. @vercel/routing-utils
  33. @vercel/ruby
  34. @vercel/rust
  35. @vercel/static-build
  36. @vercel/static-config
  37. examples
  38. vercel

E2E Tests: All e2e tests will run


This comment is automatically generated based on the affected testing strategy

@kakadiadarpan kakadiadarpan changed the title Fix disabling automatic fetch instrumentation Disable auto fetch instrumentation if there is an instrumentation setup in the code Nov 24, 2025
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.

2 participants