Prometheus metrics with multiple profiles #318
-
Hi! Thank you for writing resticprofile, it's been an amazing tool in managing my restic backups <3 I recently enabled the
After some investigation, I found that (I think) it has to do with having multiple profiles. In my simplest case I have two, as I have two repos. As such I have two separate
And inside both files, most lines look like this:
That is, they have a But at the very end there is also this:
This does not have a I'll be honest, I'm making this a Q&A/Discussion post rather than a bug report, because I have no idea who is "at fault" here... But I also can't think of how to work around this within The obvious solution is to add a As a workaround, I tried to simply use the same file name for all profiles thinking that if Are there any suggestions on what I might be doing wrong or is there something we could do to fix it? Thanks again for all the hard work! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Sorry I'm not using Anyway I was trying with a local install, and playing with it a bit: I can confirm the You can test yourself by updating the text file and adding the same labels as the other metrics, and you'll see that I'll fix this bug 👍🏻 Thanks for reporting it 😛 |
Beta Was this translation helpful? Give feedback.
Sorry I'm not using
node_exporter
...Anyway I was trying with a local install, and playing with it a bit: I can confirm the
resticprofile_build_info
needs at least a different label sonode_exporter
can differentiate them.You can test yourself by updating the text file and adding the same labels as the other metrics, and you'll see that
node-exporter
stops complaining 😉I'll fix this bug 👍🏻
Thanks for reporting it 😛