Skip to content

used restic version in metrics and/or logs #485

@rainerrose

Description

@rainerrose

Hi!

For debugging purposes, it would be very helpful if I could see the restic version used in the backup run.

It would also be nice if this information could optionally be included in the log as well as in the prometheus statistics.
Or I could add this information via prometheus-labels.

The only possibility I can think of at the moment would be a script as a command hook (e.g. run-before). But this is not really nicely solved in my opinion and not very compatible with the Prometheus syntax output. (E.g. if I would use restic --json version).
In addition, I have no access to the possibly different location that may be defined under:

global:
  restic-binary: /foo/bar/restic

I suspect that all this is easier to solve in the resticprofile environment, so I have created this issue as a feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions