Closed rmi1974 closed 1 year ago
Yes, it's a good idea and it could be implemented. I'm accepting PRs but some considerations:
NO_CHECK
env var for example.Included in release 1.3.0. It's enabled by default but it can be disabled with an environment variable. I will update the Grafana Dashboard soon.
Hi, first thanks for this great exporter.
Sometimes I get stale locks during container maintenance other activities. I'm using this docker container for making backups from multiple machines to minio instance:
https://github.com/djmaze/resticker/blob/master/docker-compose.example.yml
Apart from above output, stale locks can be detected by running
--no-lock
needs to be passed because thelist
command creates a lock on its own.See:
Then I remove them manually:
It doesn't happen too frequently so I'm not bothering modifying the docker image for backup job to add such mechanism to remove locks by default. Essentially running
restic unlock
before theprune
command.Still, I would like to keep track/detect those with Prometheus alert rule. Would it be possible to expose this number via metrics?