resticprofile
resticprofile copied to clipboard
`added_bytes` metric in prometheus file is always zero
All others metrics are populated with plausible values.
I did a little bit of research and I think this is related to a change of wording introduced in restic 0.14.0 (https://github.com/restic/restic/pull/3741)
That PR changed repo
to repository
in some places and then this line https://github.com/creativeprojects/resticprofile/blob/ae9554a8269dae47e0231984c752ef23347e492d/shell/plain_summary.go#L28 does not parse the output correctly anymore.
Thanks a lot for the report. An update for this issue is pending in PR #207 (may get cherry picked):
https://github.com/creativeprojects/resticprofile/pull/207/files#diff-2708c76a443ae1b73dc6f02bc18eff7a8e3f53efde3f791f94012b433c7f7f20R21