Skip to content

OTLP Example logging with incorrect ‘service.name’ #203

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

Merged
merged 1 commit into from
May 6, 2025

Conversation

Dreistein
Copy link
Contributor

Motivation

Logs to Jaeger will use the service name "unknown_service" instead of the crate name as intended.

See #199 for details.

Solution

Using with_service_name instead of declaring it in the Registry.

@djc djc merged commit 088a700 into tokio-rs:v0.1.x May 6, 2025
14 checks passed
@andreasWallnerIFX
Copy link

@Dreistein Just wanted to open this, thanks!

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