Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add helper script to extract timestamps from files
This is a pretty simple tool, but we've found this useful to check some diagnostics. We've also found alternatives like: https://github.com/Puppet-Finland/prometheus-file-age-metrics/blob/main/create-file-age-metrics.sh ... which gives you a metric like "out of date files", which didn't like, because the threshold lives in the script instead of the alerting layer (which we prefer). The closest thing to this is the filestat exporter: https://github.com/michael-doubez/filestat_exporter ... which provides way more metrics and seems overengineered for our purpose.
- Loading branch information