You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was looking at the restic data in my Grafana deployment. After doing a manual backup yesterday, the client appears duplicated in the "Total backup size" item in the provided dashboard. Investigating further, I discovered that the "snapshot hash" is calculated here:
But none of them is useful to group all snapshots for the same user. In the first implementation I though that the "parent hash" was common across all snapshots of the user but it's not.
I decided to make my own hash which means nothing but it's useful to group snapshots of the same user.
I'm not publishing the restic hashes because they are not useful and they will generate too many time series in Prometheus.
I was looking at the restic data in my Grafana deployment. After doing a manual backup yesterday, the client appears duplicated in the "Total backup size" item in the provided dashboard. Investigating further, I discovered that the "snapshot hash" is calculated here:
restic-exporter/restic-exporter.py
Line 201 in 880b471
My question is, why is the snapshot hash used instead of the snapshot ID (which already is a sort of hash)?
The text was updated successfully, but these errors were encountered: