mehdy / keepalived-exporter

Prometheus Keepalived exporter
GNU General Public License v3.0
121 stars 40 forks source link

fix: add retry on errors for getKeepalivedStats #133

Closed mehdy closed 1 year ago

mehdy commented 1 year ago

Fixes #115 Closes #117 due to duplication

mehdy commented 1 year ago

@clwluvw I'll clean up the other retry implementation if this is ok.

clwluvw commented 1 year ago

@clwluvw I'll clean up the other retry implementation if this is ok.

Yes, it completely makes sense - we just need to remove the retry for file as we are already retrying on top of the func for every possible failure.

mehdy commented 1 year ago

It actually makes a ton of sense :D