Skip to content

Conversation

@Excds
Copy link

@Excds Excds commented Jun 8, 2023

This adds missing spanKind to tracing. I think I found all of them, but please point out if I didn't.

@Excds Excds requested review from a team, glpatcern, ishank011 and labkode as code owners June 8, 2023 10:45
@update-docs
Copy link

update-docs bot commented Jun 8, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

defer span.End()
if !span.SpanContext().HasTraceID() {
ctx, span = tp.Tracer(tracerName).Start(ctx, "grpc auth unary")
spanOpts := []trace.SpanStartOption{
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should not add a new tracer for every middleware... 🤔

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