Skip to content

fix(cli): use namespaced vc.builder span attributes for Datadog - #15078

Merged
mehulkar merged 1 commit into
mainfrom
fix/vc-builder-span-attributes-datadog
Feb 17, 2026
Merged

mehulkar merged 1 commit into
mainfrom
fix/vc-builder-span-attributes-datadog

Conversation

@mehulkar

@mehulkar mehulkar commented Feb 17, 2026 •

Copy link
Copy Markdown
Contributor

Use builder.name, builder.version, and builder.dynamicallyInstalled on vc.builder spans so they show up in Datadog and don't conflict with the reserved version (service version) tag in Unified Service Tagging.

Made with Cursor

Note

Low Risk Change

This PR renames span attribute keys from unprefixed names to namespaced versions (e.g., 'name' to 'builder.name') for Datadog compatibility, with no logic or security changes.

  • Renames telemetry span attributes to use 'builder.' namespace prefix
  • Adds changeset documentation for the patch

Risk assessment for commit 3418fcc.

Rename span attributes to builder.name, builder.version, and
builder.dynamicallyInstalled so they don't conflict with Datadog's
reserved 'version' (service version) tag in Unified Service Tagging.

Co-authored-by: Cursor <[email protected]>
@mehulkar
mehulkar requested review from a team as code owners February 17, 2026 16:44
@mehulkar
mehulkar requested a review from tknickman February 17, 2026 16:44
@mehulkar
mehulkar enabled auto-merge (squash) February 17, 2026 16:44
@changeset-bot

changeset-bot Bot commented Feb 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3418fcc

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

This PR includes changesets to release 1 package
Name Type
vercel 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
Copy Markdown
Contributor

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-706sevb3e.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-706sevb3e.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

Python Runtime Wheel

A Python runtime wheel was also built for this PR.
To use in your Python project builds, also set this environment variable:

VERCEL_RUNTIME_PYTHON="vercel-runtime @ https://vercel-706sevb3e.vercel.sh/tarballs/vercel_runtime-0.5.0.dev1771346667+3418fcc-py3-none-any.whl"

@github-actions

Copy link
Copy Markdown
Contributor

🧪 Unit Test Strategy

Comparing: ab3e46f → 3418fcc (view diff)

Strategy: Affected packages only

✅ Only testing packages that have been modified or depend on modified packages.

Affected packages - 1 (3%)
  1. vercel
Unaffected packages - 39 (98%)
  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/config
  8. @vercel/detect-agent
  9. @vercel/edge
  10. @vercel/elysia
  11. @vercel/error-utils
  12. @vercel/express
  13. @vercel/fastify
  14. @vercel/firewall
  15. @vercel/frameworks
  16. @vercel/fs-detectors
  17. @vercel/functions
  18. @vercel/gatsby-plugin-vercel-builder
  19. @vercel/go
  20. @vercel/h3
  21. @vercel/hono
  22. @vercel/hydrogen
  23. @vercel/koa
  24. @vercel/nestjs
  25. @vercel/next
  26. @vercel/node
  27. @vercel/oidc
  28. @vercel/oidc-aws-credentials-provider
  29. @vercel/python
  30. @vercel/python-analysis
  31. @vercel/redwood
  32. @vercel/related-projects
  33. @vercel/remix-builder
  34. @vercel/routing-utils
  35. @vercel/ruby
  36. @vercel/rust
  37. @vercel/static-build
  38. @vercel/static-config
  39. examples

Results

  • Unit tests: Only affected packages will run unit tests
  • E2E tests: Running in parallel via E2E Tests workflow
  • Type checks: Only affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

@mehulkar
mehulkar requested a review from jeffsee55 February 17, 2026 18:22
@mehulkar
mehulkar merged commit 7bc30a0 into main Feb 17, 2026
178 checks passed
@mehulkar
mehulkar deleted the fix/vc-builder-span-attributes-datadog branch February 17, 2026 18:24
mehulkar pushed a commit that referenced this pull request Feb 17, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and publish to npm
yourself or [setup this action to publish
automatically](https://github.com/changesets/action#with-publishing). If
you're not ready to do a release yet, that's fine, whenever you add more
changesets to main, this PR will be updated.


# Releases
## [email protected]

### Patch Changes

- Add more precise errors and debug messages for auth issues
([#14992](#14992))

- Add tracing when installing builders
([#15071](#15071))

- Use namespaced vc.builder span attributes (builder.name,
builder.version, builder.dynamicallyInstalled) so they appear correctly
in Datadog and don't conflict with reserved `version` tag
([#15078](#15078))

- non-interactive mode should allow scope argument
([#15077](#15077))


Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — 3418fcc0 Deployed Feb 17, 2026 by vercel[bot]
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