mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
trace: Add prefix to func names of OS & Storage (#11912)
This commit is contained in:
parent
d8b5adfd10
commit
07ab4d1250
@ -49,7 +49,7 @@ func osTrace(s osMetric, startTime time.Time, duration time.Duration, path strin
|
||||
TraceType: trace.OS,
|
||||
Time: startTime,
|
||||
NodeName: globalLocalNodeName,
|
||||
FuncName: s.String(),
|
||||
FuncName: "os." + s.String(),
|
||||
OSStats: trace.OSStats{
|
||||
Duration: duration,
|
||||
Path: path,
|
||||
|
@ -591,7 +591,7 @@ func storageTrace(s storageMetric, startTime time.Time, duration time.Duration,
|
||||
TraceType: trace.Storage,
|
||||
Time: startTime,
|
||||
NodeName: globalLocalNodeName,
|
||||
FuncName: s.String(),
|
||||
FuncName: "storage." + s.String(),
|
||||
StorageStats: trace.StorageStats{
|
||||
Duration: duration,
|
||||
Path: path,
|
||||
|
Loading…
Reference in New Issue
Block a user