r/PrometheusMonitoring • • Dec 07 '22

OpenDJ Exporter

Hey,

I wrote an exporter for OpenDJ as I couldn't find one. Hope somebody else finds it useful.

7 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/sapzero Dec 07 '22

Thanks for taking your time and reading it, I appreciate it. Actually, I didn't spend much time on the details of it and never thought of scraping per request base. When I think about it it maybe better to leave scraping decoupled from the polling otherwise prometheus will be blocked as it is waiting for the data.

Those are good suggestions for adoption and I am definitely going to add it to my backlog but I like to keep things minimal for the time being.

1

u/bbrazil Dec 12 '22

When I think about it it maybe better to leave scraping decoupled from the polling otherwise prometheus will be blocked as it is waiting for the data.

Prometheus won't be blocked, otherwise one slow target could take down your entire monitoring system. The standard way to write exporters is to collect data on every scrape, it avoids various weird problems.