From 7f420d02ada02f249ef5cc67ad26de0d2e662818 Mon Sep 17 00:00:00 2001 From: Bart Vercoulen Date: Mon, 29 Jun 2020 14:12:39 +0200 Subject: [PATCH] Fix metric name. --- exporters/openvpn_exporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporters/openvpn_exporter.go b/exporters/openvpn_exporter.go index 556b749..b658898 100644 --- a/exporters/openvpn_exporter.go +++ b/exporters/openvpn_exporter.go @@ -46,7 +46,7 @@ func NewOpenVPNExporter(statusPaths []string, ignoreIndividuals bool) (*OpenVPNE // Metrics specific to OpenVPN servers. openvpnConnectedClientsDesc := prometheus.NewDesc( - prometheus.BuildFQName("openvpn", "", "openvpn_server_connected_clients"), + prometheus.BuildFQName("openvpn", "", "server_connected_clients"), "Number Of Connected Clients", []string{"status_path"}, nil)