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

Feature request: Metric containing build info (version, git tag etc) #450

Open
easymoney322 opened this issue Jul 22, 2024 · 1 comment
Open

Comments

@easymoney322
Copy link

easymoney322 commented Jul 22, 2024

Hello, I'd like to ask for a metric that would contain the information about the build version.

This would allow the users to monitor if the software is up to date.

For example, Windows Exporter has this:

windows_exporter_build_info{branch="heads/tags/v0.25.1",goarch="amd64",goos="windows",goversion="go1.21.5",revision="f70fa009de541dc99ed210aa7e67c9550133ef02",tags="unknown",version="0.25.1"} 1

SSL Exporter has this:

ssl_exporter_build_info{branch="tags/v2.4.3",goarch="amd64",goos="linux",goversion="go1.22.2",revision="3f34a7b234ce861a5bc41d726a90d7be5e808cd8",tags="unknown",version="2.4.3"} 1

Node exporter has this:

node_exporter_build_info{branch="HEAD",goarch="amd64",goos="linux",goversion="go1.20.6",revision="4a1b77600c1873a8233f3ffb55afcedbb63b8d84",tags="netgo osusergo static_build",version="1.6.1"} 1

Given that the project is written on C#, and that there is no non-hardware-metrics yet, it might be non-easy to do.
But just the version string like "0.34.0" would be enough for me.

@nickbabcock
Copy link
Owner

This is a good idea. And I will get around to implementing it (or someone else can beat me to it).

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

No branches or pull requests

2 participants