We have the prometheus endpoint being scraped on our datastore servers. I am attempting to create a metric for the amount of time that it takes to perform ldap searches/binds/adds/deletes etc…
When I hit the metrics endpoint and grep for specific actions, it appears as though the metrics for those requests hardly ever change. For example, In Grafana, if I look at the ds_connection_handlers_ldap_request_seconds for ‘search’ on a specific host and the .5 quantile for that monitor has been the exact same for 7 days straight. There are thousands of search requests that hit hit that server every minute. Yet, the metric never changes off of the exact same value which is a little more than 2 milliseconds.
Here is our config on the prometheus endpoint it seems like we’re neither excluding metrics nor including them. Any thoughts on why those values are available, yet never changing?
Property Value(s)
--------------------------------------------
1) authorization-mechanism HTTP Basic
2) base-path /metrics/prometheus
3) enabled true
4) excluded-metric-pattern -
5) included-metric-pattern -