diff --git a/pkg/prom/collector.go b/pkg/prom/collector.go index bb81231..435c2d4 100644 --- a/pkg/prom/collector.go +++ b/pkg/prom/collector.go @@ -1301,12 +1301,14 @@ func (c *SolidfireCollector) collectAsyncResults(ctx context.Context, ch chan<- defer mu.Unlock() if len(ar.Result.AsyncHandles) == 0 { - ch <- prometheus.MustNewConstMetric( - MetricDescriptions.AsyncResultsActive, - prometheus.GaugeValue, - float64(0), - "no async results", - ) + for _, s := range []string{"DriveAdd", "BulkVolume", "Clone", "DriveRemoval", "RtfiPendingNode"} { + ch <- prometheus.MustNewConstMetric( + MetricDescriptions.AsyncResultsActive, + prometheus.GaugeValue, + float64(0), + s, + ) + } return nil }