@@ -58,7 +58,7 @@ var contentTypeToExtension = map[string]string{
5858}
5959
6060func (i * handler ) serveCodec (ctx context.Context , w http.ResponseWriter , r * http.Request , imPath ImmutablePath , contentPath ipath.Path , begin time.Time , requestedContentType string ) bool {
61- ctx , span := spanTrace (ctx , "ServeCodec" , trace .WithAttributes (attribute .String ("path" , imPath .String ()), attribute .String ("requestedContentType" , requestedContentType )))
61+ ctx , span := spanTrace (ctx , "Handler. ServeCodec" , trace .WithAttributes (attribute .String ("path" , imPath .String ()), attribute .String ("requestedContentType" , requestedContentType )))
6262 defer span .End ()
6363
6464 pathMetadata , data , err := i .api .GetBlock (ctx , imPath )
@@ -77,7 +77,7 @@ func (i *handler) serveCodec(ctx context.Context, w http.ResponseWriter, r *http
7777}
7878
7979func (i * handler ) renderCodec (ctx context.Context , w http.ResponseWriter , r * http.Request , resolvedPath ipath.Resolved , blockData io.ReadSeekCloser , contentPath ipath.Path , begin time.Time , requestedContentType string ) bool {
80- ctx , span := spanTrace (ctx , "RenderCodec" , trace .WithAttributes (attribute .String ("path" , resolvedPath .String ()), attribute .String ("requestedContentType" , requestedContentType )))
80+ ctx , span := spanTrace (ctx , "Handler. RenderCodec" , trace .WithAttributes (attribute .String ("path" , resolvedPath .String ()), attribute .String ("requestedContentType" , requestedContentType )))
8181 defer span .End ()
8282
8383 blockCid := resolvedPath .Cid ()
0 commit comments