File tree Expand file tree Collapse file tree
crates/datadog-metrics-collector/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ impl CpuMetricsCollector {
120120 }
121121 }
122122 } else {
123- debug ! ( "Skipping CPU metrics collection - could not find data to generate CPU usage and limit enhanced metrics" ) ;
123+ debug ! (
124+ "Skipping CPU metrics collection - could not find data to generate CPU usage and limit enhanced metrics"
125+ ) ;
124126 }
125127 }
126128}
Original file line number Diff line number Diff line change @@ -171,7 +171,10 @@ fn compute_cgroup_cpu_limit_nc(cgroup_stats: &CgroupStats) -> Option<f64> {
171171 }
172172 Some ( current_limit_nc) if quota_limit_nc < current_limit_nc => {
173173 limit_nc = Some ( quota_limit_nc) ;
174- debug ! ( "CPU limit from cfs quota is less than current limit, setting CPU limit from cfs quota: {} nanocores" , quota_limit_nc) ;
174+ debug ! (
175+ "CPU limit from cfs quota is less than current limit, setting CPU limit from cfs quota: {} nanocores" ,
176+ quota_limit_nc
177+ ) ;
175178 }
176179 _ => {
177180 debug ! ( "Keeping cpuset limit: {:?} nanocores" , limit_nc) ;
You can’t perform that action at this time.
0 commit comments