From 07c3ec8cab13583ac1b6f2f97c1cf1da80832e9d Mon Sep 17 00:00:00 2001 From: Wondertan Date: Tue, 27 Jun 2023 15:23:55 +0200 Subject: [PATCH] fix recent tracing changes --- share/getters/shrex.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/getters/shrex.go b/share/getters/shrex.go index 6a2ac03dcd..bb5e7ca7a7 100644 --- a/share/getters/shrex.go +++ b/share/getters/shrex.go @@ -199,7 +199,7 @@ func (sg *ShrexGetter) GetSharesByNamespace( ) ctx, span := tracer.Start(ctx, "shrex/get-shares-by-namespace", trace.WithAttributes( attribute.String("root", root.String()), - attribute.String("nid", hex.EncodeToString(id)), + attribute.String("namespace", namespace.String()), )) defer func() { utils.SetStatusAndEnd(span, err)