From c82355668a5dadbdc8bf831e1267c055efe540e6 Mon Sep 17 00:00:00 2001 From: Malcolm Akinje Date: Tue, 3 Oct 2023 15:52:17 -0400 Subject: [PATCH] added in log of vt_span_context --- go/vt/vtgate/plugin_mysql_server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/vt/vtgate/plugin_mysql_server.go b/go/vt/vtgate/plugin_mysql_server.go index e96648b80fc..bb52e5f3216 100644 --- a/go/vt/vtgate/plugin_mysql_server.go +++ b/go/vt/vtgate/plugin_mysql_server.go @@ -173,6 +173,7 @@ func getSpan(ctx context.Context, match []string, newSpan func(context.Context, span, ctx, err = newSpanFromString(ctx, match[1], label) if err == nil { span.Annotate("vt_span_context", match[0]) + log.Infof("vt_span_context: %s", match[1]) return span, ctx } log.Warningf("Unable to parse VT_SPAN_CONTEXT: %s", err.Error())