We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f10f0 commit 7980f03Copy full SHA for 7980f03
internal/store/horizontalpodautoscaler.go
@@ -217,10 +217,10 @@ func createHPASpecTargetMetric() generator.FamilyGenerator {
217
}
218
219
if metricTarget.Value != nil {
220
- metricMap[value] = convertValueToFloat64(metricTarget.Value) / 1000
+ metricMap[value] = convertValueToFloat64(metricTarget.Value)
221
222
if metricTarget.AverageValue != nil {
223
- metricMap[average] = convertValueToFloat64(metricTarget.AverageValue) / 1000
+ metricMap[average] = convertValueToFloat64(metricTarget.AverageValue)
224
225
if metricTarget.AverageUtilization != nil {
226
metricMap[utilization] = float64(*metricTarget.AverageUtilization)
0 commit comments