Tracing: Standardize on otel tracing (#75528)
This commit is contained in:
@@ -138,7 +138,7 @@ func (srv *CleanUpService) cleanUpTmpFiles(ctx context.Context) {
|
||||
|
||||
for _, f := range folders {
|
||||
ctx, span := srv.tracer.Start(ctx, "delete stale files in temporary directory")
|
||||
span.SetAttributes("directory", f, attribute.Key("directory").String(f))
|
||||
span.SetAttributes(attribute.String("directory", f))
|
||||
srv.cleanUpTmpFolder(ctx, f)
|
||||
span.End()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user