From 1e2f882e1b919dd3a21660fa5fec28baa79d4628 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Thu, 25 Mar 2021 11:14:37 -0700 Subject: [PATCH] Fix dup label --- integrations/promunifi/udm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/promunifi/udm.go b/integrations/promunifi/udm.go index a8be2943..5b2cafd2 100644 --- a/integrations/promunifi/udm.go +++ b/integrations/promunifi/udm.go @@ -41,7 +41,7 @@ func descDevice(ns string) *unifiDevice { Temperature: prometheus.NewDesc(ns+"temperature_celsius", "Temperature", append(labels, "temp_area", "temp_type"), nil), Storage: prometheus.NewDesc(ns+"storage", "Storage", - append(labels, "mountpoint", "name", "valtype"), nil), + append(labels, "mountpoint", "storage_name", "storage_reading"), nil), TotalMaxPower: prometheus.NewDesc(ns+"max_power_total", "Total Max Power", labels, nil), FanLevel: prometheus.NewDesc(ns+"fan_level", "Fan Level", labels, nil), TotalTxBytes: prometheus.NewDesc(ns+"transmit_bytes_total", "Total Transmitted Bytes", labels, nil),