File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ func (m *runtimeLoadMonitor) recordCPUUsage(ctx context.Context) {
146146 panic (err )
147147 }
148148 // TODO(wenyihu6): we should revisit error handling here for production.
149- log .Dev .Warningf (ctx , "failed to get cpu usage: %v" , err )
149+ log .KvDistribution .Warningf (ctx , "failed to get cpu usage: %v" , err )
150150 }
151151 // Convert milliseconds to nanoseconds.
152152 totalUsageNanos := float64 (userTimeMillis * 1e6 + sysTimeMillis * 1e6 )
@@ -168,7 +168,7 @@ func (m *runtimeLoadMonitor) recordCPUCapacity(ctx context.Context) {
168168 panic ("programming error: cpu capacity is 0" )
169169 }
170170 // TODO(wenyihu6): we should pass in an actual context here.
171- log .Dev .Warningf (ctx , "failed to get cpu capacity" )
171+ log .KvDistribution .Warningf (ctx , "failed to get cpu capacity" )
172172 }
173173}
174174
You can’t perform that action at this time.
0 commit comments