@cryptotaxi247 / netdata-1 / commits / ff26e44fa

fix(go.d/prometheus): don't use "ratio" as unit (#20069)

Ilya Mashchenko committed Apr 6, 2025 at 17:14 UTC ff26e44fa8656eb6dd4ad8ed770e74a5ff0052a1
1 file changed +1 -1
src/go/plugin/go.d/collector/prometheus/charts.go
+1 -1
@@ -317,7 +317,7 @@ func getChartUnits(metric string) string {
317 return "events"
318 }
319 switch suffix := metric[idx:]; suffix {
320 - case "_total", "_sum", "_count":
320 + case "_total", "_sum", "_count", "_ratio":
321 return getChartUnits(metric[:idx])
322 }
323 switch units := metric[idx+1:]; units {