Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

should client otel span be parent of server span #105

Open
geib opened this issue Jul 12, 2023 · 6 comments
Open

should client otel span be parent of server span #105

geib opened this issue Jul 12, 2023 · 6 comments

Comments

@geib
Copy link

geib commented Jul 12, 2023

Using the opentelemetry grpcbox instrumentation library and I am seeing both the client and server spans in Zipkin. However, I expected to see one span, with the client span being the parent of the server span. Or perhaps the client span with the server span a sub-span of the client. Both my client and server are Erlang.

@tsloughter
Copy link
Owner

Do you mean you expect one trace? You are seeing multiple traces?

@geib
Copy link
Author

geib commented Jul 12, 2023

Sorry, yes I expected one trace, and I am seeing two.

@tsloughter
Copy link
Owner

Ah ok. Yes, then that is a bug.

@geib
Copy link
Author

geib commented Jul 12, 2023

I am using grpcbox 0.16.0 and opentelemetry_grpcbox 0.2.0, correct versions?

@tsloughter
Copy link
Owner

Yea, those are the latest.

@geib
Copy link
Author

geib commented Jul 14, 2023

Just an FYI. I switched to use the opencensus interceptor included with grpcbox and the behavior is exactly the same, I get two traces, one for the client and one for the server.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants