Commit graph

14 commits

Author SHA1 Message Date
ngosang
4efcaba7c5 Replaced RESTIC_REPO_URL, RESTIC_REPO_PASSWORD and RESTIC_REPO_PASSWORD_FILE environment variables 2024-01-20 16:00:11 +01:00
ngosang
10dae8da3a Add new label "snapshot_tags" in the list of tags separated by comma 2024-01-20 15:28:45 +01:00
ngosang
a4243a8554 Include metric label client_version. Resolves #5 2023-10-14 23:35:18 +02:00
ngosang
8697539748 Include backup paths in the exported metrics. Resolves #17 2023-07-30 01:02:04 +02:00
ngosang
2f4bab16ef Fix typos and static methods 2023-07-30 00:46:09 +02:00
ngosang
0bc9a62563 New metric restic_locks_total. Resolves #10 2023-07-30 00:37:32 +02:00
ngosang
8a99ddae98 Improve hash calculation to avoid duplicate clients 2023-03-26 14:34:48 +02:00
Diego Heras
2c3ef3e79c
Merge branch 'main' into skip-username-when-not-present 2023-03-18 16:04:12 +01:00
Konstantin Shalygin
60617651cb
Performance improvements for restic-exporter 2023-03-17 10:25:51 +07:00
Enrico204
011b658805 Use empty username when username is not present
in snapshot.

This commit is fixing a crash when the snapshot has
no username field in JSON. The missing username is
replaced with a space.
2023-02-06 13:52:07 +01:00
ngosang
864f63600a Improve error handling and better log traces 2023-02-02 20:30:57 +01:00
ngosang
84190584b8 Fix snapshot time parsing for old versions of Restic. Resolves #1 2023-02-02 20:02:12 +01:00
ngosang
3e00452190 Rename PASSWORD_FILE env var to RESTIC_REPO_PASSWORD_FILE 2023-02-02 19:48:08 +01:00
ngosang
69c7485071 First release: restic-exporter 1.0.0 2022-12-06 20:40:47 +01:00