natrontech / pbs-exporter

A prometheus exporter for Proxmox Backup Server
GNU General Public License v3.0
14 stars 6 forks source link

feat: Add version metric #31

Closed lcaflc closed 2 weeks ago

lcaflc commented 2 weeks ago

What this PR does:

Add support for version metrics retrieved from PBS API.

Notes for Reviewer:

We have to set the version as a label because this is not a "metric". This mimic what is done with the pve_exporter https://github.com/prometheus-pve/prometheus-pve-exporter

Checklist:

janfuhrer commented 2 weeks ago

hi @lcaflc Thank you very much for your contribution! I will test your changes today.

Can you please already sign all commits (according https://github.com/natrontech/pbs-exporter/blob/main/CONTRIBUTING.md#commit-signature-verification)?

lcaflc commented 2 weeks ago

I'll sign the commits, sorry for that must check why git didn't have done it by default...