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

fix(tracing): allow setting resource attributes via URL #289

Merged
merged 1 commit into from
May 31, 2024

Conversation

jta
Copy link
Contributor

@jta jta commented May 31, 2024

In cloudformation we do not have much configuration surface area for passing in environment variables, particular for debug-only usecases such as tracing. This commit allows passing in resource attributes through query parameters for an OTEL OTLP endpoint. Since this behavior is not per-spec, we initially limit its scope to
deployment.environment, which is useful to disambiguate between collection environments.

@jta jta force-pushed the joao/tracing-resource-attr branch 2 times, most recently from 3fcbc44 to d6f1c8f Compare May 31, 2024 17:28
@jta jta marked this pull request as ready for review May 31, 2024 17:46
All our HTTP requests are outbound to a remote set, so we should set
the span kind to `client`.
@jta jta force-pushed the joao/tracing-resource-attr branch from d6f1c8f to 6f9f108 Compare May 31, 2024 19:50
@jta jta merged commit a6f9f34 into main May 31, 2024
16 checks passed
@jta jta deleted the joao/tracing-resource-attr branch May 31, 2024 20:32
Copy link

🎉 This PR is included in version 1.19.2-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

🎉 This PR is included in version 1.19.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants