Skip to content

Expose build version in prometheus metrics#64

Open
pgporada wants to merge 1 commit into
FiloSottile:mainfrom
pgporada:add-build-metric
Open

Expose build version in prometheus metrics#64
pgporada wants to merge 1 commit into
FiloSottile:mainfrom
pgporada:add-build-metric

Conversation

@pgporada
Copy link
Copy Markdown

Here's examples of what the metric looks like:

$ curl -sk https://localhost:8080/metrics | grep '^sunlight_build'
sunlight_build_info{commit="4609173f5d638692944d5e66731fec856c9efdfc",version="v0.8.1-0.20260522193737-4609173f5d63+dirty"} 1

The version= information is documented here.

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.

1 participant