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: embed vcs info in binary and expose as metric #13

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

tjhop
Copy link
Contributor

@tjhop tjhop commented Sep 14, 2022

This commit uses goreleaser to add some linker flags to populate variables with version control info. The primary use of this is to expose as a new prometheus metric, nagios_build_info.

This commit uses goreleaser to add some linker flags to populate
variables with version control info. The primary use of this is to
expose as a new prometheus metric, `nagios_build_info`.
@wbollock wbollock self-requested a review September 14, 2022 20:10
@wbollock
Copy link
Collaborator

thanks!!

@wbollock wbollock merged commit 5d803a2 into linode-obs:main Sep 14, 2022
wbollock referenced this pull request in linode-obs/ping_exporter Oct 11, 2023
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