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

Read OTEL env vars for resource attributes #4932

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

yurishkuro
Copy link
Member

Which problem is this PR solving?

Description of the changes

  • Allows overriding OTEL resource attributes via env vars (specifically OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES)

How was this change tested?

  • $ OTEL_SERVICE_NAME=foobar go run -tags=ui ./cmd/all-in-one

image

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

see 2 files with indirect coverage changes

📢 Thoughts on this report? Let us know!

@yurishkuro yurishkuro enabled auto-merge (squash) November 8, 2023 15:06
@yurishkuro yurishkuro merged commit 90906f1 into jaegertracing:main Nov 8, 2023
34 checks passed
@yurishkuro yurishkuro deleted the fix-4931 branch November 8, 2023 15:56
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.

[Feature]: provide a way of renaming the jaeger-all-in-one service name
2 participants