From ca6eb7568523f1104585d109e93f20e929339bda Mon Sep 17 00:00:00 2001 From: Mark Dordoy Date: Mon, 4 Sep 2023 09:49:02 +0100 Subject: [PATCH] add recommendation to prefix with ldap Signed-off-by: Mark Dordoy --- collector/ad.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/ad.go b/collector/ad.go index 3269492f..16304388 100644 --- a/collector/ad.go +++ b/collector/ad.go @@ -345,7 +345,7 @@ func newADCollector(logger log.Logger) (Collector, error) { nil, ), LdapClientSessions: prometheus.NewDesc( - prometheus.BuildFQName(Namespace, subsystem, "client_sessions"), + prometheus.BuildFQName(Namespace, subsystem, "ldap_client_sessions"), "This is the number of sessions opened by LDAP clients at the time the data is taken. This is helpful in determining LDAP client activity and if the DC is able to handle the load. Of course, spikes during normal periods of authentication — such as first thing in the morning — are not necessarily a problem, but long sustained periods of high values indicate an overworked DC.", nil, nil,