mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tracing: Standardize on otel tracing (#75528)
This commit is contained in:
committed by
GitHub
parent
4432c4c75c
commit
e4c1a7a141
@@ -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