Skip to content

Commit

Permalink
Update definition.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sachin-shankar authored Jul 31, 2023
1 parent d86935f commit 6cb71fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metric/definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ func filterCPUUsedCores(fetchedValue definition.FetchedValue, groupLabel, entity
// since there is no way to know the max cpu cores for the current node, use default max of 96 cores supported by most cloud providers
// a higher value wouldn't hurt our calculation as the cpuUsedCores value will be a super high number
log.StandardLogger().Warnf("cpuLimitCores metric not available. using default max 96 cores")
value = 96000 // 9600m k8s cpu unit
value = 96000 // 96 * 1000m k8s cpu unit
}

// apply transform before comparisons
Expand Down

0 comments on commit 6cb71fc

Please sign in to comment.