diff --git a/cmd/collectors/rest/plugins/quota/quota.go b/cmd/collectors/rest/plugins/quota/quota.go index 3e2a28e96..53633c6b6 100644 --- a/cmd/collectors/rest/plugins/quota/quota.go +++ b/cmd/collectors/rest/plugins/quota/quota.go @@ -29,7 +29,7 @@ func (q *Quota) Init() error { func (q *Quota) Run(dataMap map[string]*matrix.Matrix) ([]*matrix.Matrix, *util.Metadata, error) { data := dataMap[q.Object] - // Adding threshold metric once as it's not available from quota template + // The threshold metric does not exist in REST quota template, we are adding it to maintain parity with exported ZAPI metrics if data.GetMetric("threshold") == nil { _, err := data.NewMetricFloat64("threshold", "threshold") if err != nil {