Replies: 1 comment
-
You can write a little .md page for the contributions section in the documentation, or I can link the documentation to this post 👍🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I set this up for my mum's computer and laptop in addition to the suggestion of using prometheus pushgateway, because I wanted to see any stderr output as well, just to be sure I know of any issues in advance. This version is quite simple and doesn't have the remapping I am working on for the stderr lines, but I thought resticprofile users could really benefit from an example
vector.yaml
. If you call vector.dev in your resticprofile run-after action with something like:vector -c vector.yaml < status_file.json
and (of course) have the resticprofile status file option on, you'll have the latest metrics and log lines from each backup shipped to your centralised log-monitoring tool. In the config example here, I use Grafana Loki:
Vector is small, fast, and lightweight, plus it's available on
scoop
(for Windows hosts) as well as most linux package managers for most architectures. This way, you don't have to scrape anything, or install something like promtail and hope it scrubs over the logs before the user shuts the system down.Beta Was this translation helpful? Give feedback.
All reactions