titisan / ldap_exporter Goto Github PK
View Code? Open in Web Editor NEWA process for exposing LDAP metrics via HTTP for Prometheus consumption
License: Apache License 2.0
A process for exposing LDAP metrics via HTTP for Prometheus consumption
License: Apache License 2.0
It looks as though the prefix is missing for the scraped metrics.
# HELP ldapexporter_config_reload_success_total Number of times configuration have successfully been reloaded.
# TYPE ldapexporter_config_reload_success_total counter
ldapexporter_config_reload_success_total 0.0
# HELP ldapexporter_config_reload_failure_total Number of times configuration have failed to be reloaded.
# TYPE ldapexporter_config_reload_failure_total counter
ldapexporter_config_reload_failure_total 0.0
# HELP _open_threads Metric from cn=Open,cn=Threads_monitoredInfo
# TYPE _open_threads untyped
_open_threads 8.0
# HELP _abandon_operations_monitoropcompleted Metric from cn=Abandon,cn=Operations_monitorOpCompleted
# TYPE _abandon_operations_monitoropcompleted untyped
_abandon_operations_monitoropcompleted 0.0
# HELP _extended_operations_monitoropinitiated Metric from cn=Extended,cn=Operations_monitorOpInitiated
# TYPE _extended_operations_monitoropinitiated untyped
_extended_operations_monitoropinitiated 0.0
# HELP _modify_operations_monitoropcompleted Metric from cn=Modify,cn=Operations_monitorOpCompleted
# TYPE _modify_operations_monitoropcompleted untyped
_modify_operations_monitoropcompleted 0.0
# HELP _current_connections Metric from cn=Current,cn=Connections_monitorCounter
# TYPE _current_connections untyped
_current_connections 29.0
# HELP _operations_monitoropinitiated Metric from cn=Operations_monitorOpInitiated
# TYPE _operations_monitoropinitiated untyped
_operations_monitoropinitiated 41667.0
# HELP ldap_scrape_duration_seconds Time this LDAP scrape took, in seconds.
# TYPE ldap_scrape_duration_seconds gauge
ldap_scrape_duration_seconds 0.052025813
# HELP ldap_scrape_error Non-zero if this scrape failed.
# TYPE ldap_scrape_error gauge
ldap_scrape_error 0.0
Best practice says that there should be a namespace on all scraped metrics
https://prometheus.io/docs/practices/naming/
My config:
---
ldapUrl: ldap://localhost:389
lowercaseOutputName: true
lowercaseOutputLabelNames: true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.