resticprofile icon indicating copy to clipboard operation
resticprofile copied to clipboard

`added_bytes` metric in prometheus file is always zero

Open nwinkelstraeter opened this issue 1 year ago • 1 comments

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.

nwinkelstraeter avatar Dec 05 '23 15:12 nwinkelstraeter

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

jkellerer avatar Dec 05 '23 20:12 jkellerer