-
Notifications
You must be signed in to change notification settings - Fork 31
Description
Hey, thanks for the exporter and the amazing dashboard!
My use case is as follows: I have multiple services performing backups, each of which adds a unique tag.
Currently, the metrics show the size of the latest snapshot (per combination of paths) as if it had been restored (i.e. restic stats --mode=restore-size).
To me it would be useful to know the actual size taken by all the snapshots of a service. For example, we could detect heavy changes in big files resulting in repository growth, which would go undetected if the restored size of the latest snapshot remains stable. I would use: restic stats --mode=raw-data --tag=<service>.
To fit the exporter's model, it would be 'restic stats --mode=raw-data ...', where ids are from snapshots sharing the same path. This has to be done in a single command so that restic doesn't count blobs multiple times.
- Do you think this is a good idea?
- Are you open to pull requests?
Related to #29.