mirror of
https://github.com/natrontech/pbs-exporter.git
synced 2026-04-25 18:35:51 +03:00
[PR #31] [MERGED] feat: Add version metric #41
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pbs-exporter#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/natrontech/pbs-exporter/pull/31
Author: @lcaflc
Created: 6/25/2024
Status: ✅ Merged
Merged: 6/25/2024
Merged by: @janfuhrer
Base:
main← Head:main📝 Commits (3)
528c561feat: Add version metric5ac4f6cfeat: Add repoid and release to version metric23a5ff8chore: Add version metric to README📊 Changes
2 files changed (+79 additions, -1 deletions)
View changed files
📝
README.md(+1 -0)📝
main.go(+78 -1)📄 Description
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:
feat|fix|chore|docs|...: Changed SomethingREADME.mdfile (e.g. new parameters, environment variables, return values, ...)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.