Skip to content

Added node name as service name #645

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
Aug 13, 2024
Merged

Added node name as service name #645

merged 1 commit into from
Aug 13, 2024

Conversation

alexandrosfilios
Copy link
Contributor

No description provided.

@alexandrosfilios alexandrosfilios marked this pull request as ready for review August 13, 2024 12:40
Signed-off-by: Alexandros Filios <[email protected]>
return newTracerProviderFromConfig(c, ServiceName)
}

func newTracerProviderFromConfig(c Config, serviceName string) (trace.TracerProvider, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it okay if service name is empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it can, but I haven't tried it. The code doesn't allow this though.

Copy link
Contributor

@adecaro adecaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just left a comment for clarification

@alexandrosfilios alexandrosfilios merged commit 9e744da into main Aug 13, 2024
18 checks passed
@alexandrosfilios alexandrosfilios deleted the node-name-tracing branch August 13, 2024 13:15
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