mirror of
https://github.com/minio/minio.git
synced 2025-01-25 21:53:16 -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,
|
TraceType: trace.OS,
|
||||||
Time: startTime,
|
Time: startTime,
|
||||||
NodeName: globalLocalNodeName,
|
NodeName: globalLocalNodeName,
|
||||||
FuncName: s.String(),
|
FuncName: "os." + s.String(),
|
||||||
OSStats: trace.OSStats{
|
OSStats: trace.OSStats{
|
||||||
Duration: duration,
|
Duration: duration,
|
||||||
Path: path,
|
Path: path,
|
||||||
|
@ -591,7 +591,7 @@ func storageTrace(s storageMetric, startTime time.Time, duration time.Duration,
|
|||||||
TraceType: trace.Storage,
|
TraceType: trace.Storage,
|
||||||
Time: startTime,
|
Time: startTime,
|
||||||
NodeName: globalLocalNodeName,
|
NodeName: globalLocalNodeName,
|
||||||
FuncName: s.String(),
|
FuncName: "storage." + s.String(),
|
||||||
StorageStats: trace.StorageStats{
|
StorageStats: trace.StorageStats{
|
||||||
Duration: duration,
|
Duration: duration,
|
||||||
Path: path,
|
Path: path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user