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

trace export failing with "Missing span display name!" #687

Closed
k4leung4 opened this issue Jul 25, 2023 · 3 comments
Closed

trace export failing with "Missing span display name!" #687

k4leung4 opened this issue Jul 25, 2023 · 3 comments
Labels
bug Something isn't working priority: p2

Comments

@k4leung4
Copy link

failed to export to Google Cloud Trace: rpc error: code = InvalidArgument desc = Missing span display name!"

I'm seeing the above error, which seems weird, as all span should have a name defaulted when converting to proto form
https://github.com/GoogleCloudPlatform/opentelemetry-operations-go/blob/main/exporter/trace/trace_proto.go#L149-L151

not sure how it is happening

any guidance to better debug this would be appreciated, as this is running in a relatively complex system, it is not clear to me where these traces are even originating from

@dashpole dashpole added the bug Something isn't working label Jul 26, 2023
@dashpole
Copy link
Contributor

Is it possible the span name is empty? e.g. someone did tracer.Start(ctx, "") somewhere?

@dashpole
Copy link
Contributor

I can't think of any other way that would be empty

@punya
Copy link
Contributor

punya commented May 20, 2024

Closing because the customer didn't respond in a few months.

@punya punya closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: p2
Projects
None yet
Development

No branches or pull requests

3 participants