Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(otel): add deployment ID resource attribute #102

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

bripkens
Copy link
Contributor

@bripkens bripkens commented Jul 1, 2024

Why

Through log drain's deploymentId field it is possible to link log records to a specific Vercel deployment.

It would be great if the same level of linking could be established for OTLP data on Vercel. If that were the case, OTLP and log drain information could be correlated to the same "resource" (in OpenTelemetry terminology).

What

Report vercel.deployment_id as a resource attribute.

Copy link

vercel bot commented Jul 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
otel-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 17, 2024 4:16am

@dvoytenko dvoytenko merged commit 4882239 into vercel:main Aug 20, 2024
8 checks passed
@dvoytenko
Copy link
Member

@bripkens huge thanks! the change has been released in 1.10.0

@bripkens bripkens deleted the patch-1 branch August 20, 2024 06:58
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