Added docs, updated to gague. Signed-off-by: Mark Dordoy <mdordoy@palantir.com>

Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
This commit is contained in:
Mark Dordoy
2023-08-30 14:44:53 +01:00
parent d78230f67b
commit f8b8b2c546
2 changed files with 2 additions and 1 deletions

View File

@@ -1199,7 +1199,7 @@ func (c *ADCollector) collect(ch chan<- prometheus.Metric) (*prometheus.Desc, er
)
ch <- prometheus.MustNewConstMetric(
c.LdapClientSessions,
prometheus.CounterValue,
prometheus.GaugeValue,
float64(dst[0].LDAPClientSessions),
)