Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add version metric #31

Merged
merged 3 commits into from
Jun 25, 2024
Merged

feat: Add version metric #31

merged 3 commits into from
Jun 25, 2024

Conversation

lcaflc
Copy link
Contributor

@lcaflc lcaflc commented Jun 25, 2024

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:

  • I have read and understood the CONTRIBUTING and CODE_OF_CONDUCT documents
  • Pull Request title in the format of Conventional Commits e.g. feat|fix|chore|docs|...: Changed Something
  • Updated documentation in the README.md file (e.g. new parameters, environment variables, return values, ...)

@janfuhrer
Copy link
Contributor

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)?

@janfuhrer janfuhrer changed the title Add version metric feat: Add version metric Jun 25, 2024
@lcaflc
Copy link
Contributor Author

lcaflc commented Jun 25, 2024

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

Copy link
Contributor

@janfuhrer janfuhrer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, works fine

Thanks again for your contribution @lcaflc

@janfuhrer janfuhrer merged commit c25dbc4 into natrontech:main Jun 25, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants