Comments (3)
For each snapshot restic provides several hashes:
"parent":"caf9137c9bccc0d2b266a0fc02be7a71652f3de4916034a234e535a3e9ef3a11",
"tree":"446e26b7a79b7b08f52d2e183cbbc9be948e0e56787a69aae3c2f9e63fbbd07c",
"id":"100c00902e666e25570773885e82200a982c4334268f1d608f138384de629915",
"short_id":"100c0090"
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.
from restic-exporter.
Ok, that makes sense. Thanks!
I suppose that I will investigate on why my client appears duplicated, and I will open a new issue or PR if there is any enhancement :-)
from restic-exporter.
As explained in #16, in my case I get duplicates because of path changes (I added a couple of directories for a given host and user).
from restic-exporter.
Related Issues (19)
- Error: time data '2022-12-07T10:19:24' does not match format '%Y-%m-%dT%H:%M:%S%z' HOT 2
- Add support for reporting number of (stale) locks HOT 2
- Alert example fires for maintained snapshots HOT 15
- Exclude paths from snapshot_hash HOT 1
- docker image ssh for sftp backend HOT 1
- Duplicated snapshots because of paths HOT 1
- Possible to get the "Paths" HOT 4
- rclone is available with restic-exporter? HOT 4
- Invalid: feature request
- S3 Support? HOT 4
- Collaboration with Restic-REST backend ? HOT 1
- Also allow restic environment variables HOT 2
- Environment variable "RESTIC_REPO_PASSWORD" is not read by restic-exporter.py HOT 2
- Support for multiple tags? HOT 1
- multi repository HOT 1
- Basic Auth support HOT 5
- Include Restic client version metric HOT 2
- [FEATURE] Multiple repo support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restic-exporter.