Skip to content

Commit

Permalink
added vt_span_context logs
Browse files Browse the repository at this point in the history
  • Loading branch information
makinje16 committed Oct 3, 2023
1 parent c823556 commit c1e19ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/vtgate/plugin_mysql_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func startSpanTestable(ctx context.Context, query, label string,
match := r.FindStringSubmatch(comments.Leading)
span, ctx := getSpan(ctx, match, newSpan, label, newSpanFromString)
if len(match) == 0 {
log.Info("No match found for span context")
return trace.NoopSpan{}, ctx, nil
}

Expand Down

0 comments on commit c1e19ef

Please sign in to comment.