Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

prometheus: expose "build_info" gauge #2874

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

Merged
merged 2 commits into from
Jun 4, 2025

Conversation

herver
Copy link

@herver herver commented Jun 3, 2025

This Pull Request adds build time informations in a gauge metrics (à la node_exporter) when the prometheus_enabled flag is set to true

# HELP dnscrypt_proxy_build_info A metric with a constant '1' value labeled by version, goversion from which dnscrypt_proxy was built, and the goos and goarch for the build.
# TYPE dnscrypt_proxy_build_info gauge
dnscrypt_proxy_build_info{goarch="amd64" goos="linux" goversion="go1.24.3" version="2.1.12"} 1

Goal for me: be able to ensure latest (or a specific version) of dnscrypt_proxy is running on my machines.

I didn't want to touch the JSON for the "main" Monitoring UI/JSON as this has probably more implications, let me know if you want me to have a look.

dnscrypt-proxy/monitoring_ui.go Outdated Show resolved Hide resolved
@jedisct1 jedisct1 merged commit 5536568 into DNSCrypt:master Jun 4, 2025
1 check 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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.