Add description, fix typo on type
Signed-off-by: Mark Dordoy <mdordoy@palantir.com>
This commit is contained in:
parent
23e1a86aa7
commit
1d027579d2
|
@ -59,7 +59,7 @@ type ADCollector struct {
|
|||
LdapSearchesTotal *prometheus.Desc
|
||||
LdapUdpOperationsTotal *prometheus.Desc
|
||||
LdapWritesTotal *prometheus.Desc
|
||||
LdapClientSessions *Prometheus.Desc
|
||||
LdapClientSessions *prometheus.Desc
|
||||
LinkValuesCleanedTotal *prometheus.Desc
|
||||
PhantomObjectsCleanedTotal *prometheus.Desc
|
||||
PhantomObjectsVisitedTotal *prometheus.Desc
|
||||
|
@ -346,7 +346,7 @@ func newADCollector(logger log.Logger) (Collector, error) {
|
|||
),
|
||||
LdapClientSessions: prometheus.NewDesc(
|
||||
prometheus.BuildFQName(Namespace, subsystem, "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,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue