lightninglabs / lndmon

🔎lndmon: A drop-in monitoring solution for your lnd node using Prometheus+Grafana
MIT License
151 stars 47 forks source link

collectors: add proper scraping http error logging, continue if error encountered #55

Closed Roasbeef closed 4 years ago

Roasbeef commented 4 years ago

In this PR, we hook up a proper error logger for promhttp, which means that we'll now get error logging if Prometheus encounters an error during scraping. We also modify the default arguments to allow the scraper to continue if if runs into any errors along the way.