enix / x509-certificate-exporter

A Prometheus exporter to monitor x509 certificates expiration in Kubernetes clusters or standalone
MIT License
653 stars 68 forks source link

Listen for file change events with fsnotify to catch cert changes #132

Open Dentrax opened 1 year ago

Dentrax commented 1 year ago

It'd be nice to add fsnotify support to listen file events (file changes, etc.) and refresh the metrics according to new contents.

AnuragEkkati commented 11 months ago

Hello @Dentrax

You can explore reloader for this. https://github.com/stakater/Reloader. It has a feature of slack/webhook notification