HI!
I'm looking at a Prometheus graph of cn=Read,cn=Waiters,cn=Monitor (slapd 2.4.59).
The object class is monitorCounterObject, the attribute is called monitorCounter.
If it's a counter I'd expect the value to only increase.
But the graph shows decreasing values!?!
What's the exact meaning of this?
Ciao, Michael.
Michael Ströder wrote:
HI!
I'm looking at a Prometheus graph of cn=Read,cn=Waiters,cn=Monitor (slapd 2.4.59).
The object class is monitorCounterObject, the attribute is called monitorCounter.
If it's a counter I'd expect the value to only increase.
But the graph shows decreasing values!?!
What's the exact meaning of this?
It's an instantaneous/current count, not cumulative.
The number of connections currently blocked waiting for data from the client.
write waiters is the number of connections blocked waiting to send data to the client.
Ciao, Michael.
On 8/11/21 7:59 PM, Howard Chu wrote:
Michael Ströder wrote:
I'm looking at a Prometheus graph of cn=Read,cn=Waiters,cn=Monitor (slapd 2.4.59).
The object class is monitorCounterObject, the attribute is called monitorCounter.
If it's a counter I'd expect the value to only increase.
But the graph shows decreasing values!?!
What's the exact meaning of this?
It's an instantaneous/current count, not cumulative.
The number of connections currently blocked waiting for data from the client.
write waiters is the number of connections blocked waiting to send data to the client.
Hmm, so the schema used beneath cn=Threads,cn=Monitor would be more appropriate.
Ciao, Michael.
Michael Ströder michael@stroeder.com schrieb am 11.08.2021 um 20:50 in
Nachricht 56a569c5-658d-86f6-18b9-eda2194f9334@stroeder.com:
On 8/11/21 7:59 PM, Howard Chu wrote:
Michael Ströder wrote:
I'm looking at a Prometheus graph of cn=Read,cn=Waiters,cn=Monitor (slapd 2.4.59).
The object class is monitorCounterObject, the attribute is called monitorCounter.
If it's a counter I'd expect the value to only increase.
But the graph shows decreasing values!?!
What's the exact meaning of this?
It's an instantaneous/current count, not cumulative.
The number of connections currently blocked waiting for data from the
client.
write waiters is the number of connections blocked waiting to send data to
the client.
Hmm, so the schema used beneath cn=Threads,cn=Monitor would be more appropriate.
There, each value has a "description" at least (in my old version), but the value is "very generic" (monitoredInfo) IMHO: # Starting, Threads, Monitor dn: cn=Starting,cn=Threads,cn=Monitor monitoredInfo: 0 description: Number of threads being started
Regards, Ulrich
Ciao, Michael.
Howard Chu hyc@symas.com schrieb am 11.08.2021 um 19:59 in Nachricht
588cc1a2-4efd-e0e5-94a6-d550319fc736@symas.com:
Michael Ströder wrote:
HI!
I'm looking at a Prometheus graph of cn=Read,cn=Waiters,cn=Monitor (slapd 2.4.59).
The object class is monitorCounterObject, the attribute is called monitorCounter.
If it's a counter I'd expect the value to only increase.
But the graph shows decreasing values!?!
What's the exact meaning of this?
It's an instantaneous/current count, not cumulative.
The number of connections currently blocked waiting for data from the client.
write waiters is the number of connections blocked waiting to send data to the client.
Do do the recent versions have a "description" better than this old one?: # Waiters, Monitor dn: cn=Waiters,cn=Monitor description: This subsystem contains information about read/write waiters.
Despite of that: Have you considered introducing a "monitorGauge" for those? Also: is the value "right at the moment", or is it some sum or avarage for a time interval (like one second)?
Regards, Ulrich
Ciao, Michael.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
Michael Ströder michael@stroeder.com schrieb am 11.08.2021 um 19:48 in
Nachricht ca664de9-8352-efca-4237-16a5b29a98ee@stroeder.com:
HI!
I'm looking at a Prometheus graph of cn=Read,cn=Waiters,cn=Monitor (slapd 2.4.59).
The object class is monitorCounterObject, the attribute is called monitorCounter.
If it's a counter I'd expect the value to only increase.
But the graph shows decreasing values!?!
What's the exact meaning of this?
My guess is that it's a "gauge", not a "counter".
Seeing: # Read, Waiters, Monitor dn: cn=Read,cn=Waiters,cn=Monitor monitorCounter: 15
here I guess it's the number of read threads waiting.
# Waiters, Monitor dn: cn=Waiters,cn=Monitor description: This subsystem contains information about read/write waiters.
Regards, Ulrich
Ciao, Michael.
openldap-technical@openldap.org