Skip to content

feat: add git_describe label to builder_info metric#332

Closed
Peponks9 wants to merge 1 commit intoflashbots:mainfrom
Peponks9:add-git-describe-metric
Closed

feat: add git_describe label to builder_info metric#332
Peponks9 wants to merge 1 commit intoflashbots:mainfrom
Peponks9:add-git-describe-metric

Conversation

@Peponks9
Copy link
Copy Markdown

@Peponks9 Peponks9 commented Nov 24, 2025

enhances observability by including the Git describe output

closes #249

cc @SozinM

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances observability by adding the Git describe output as a label to the builder_info Prometheus metric. The git_describe output provides richer version information than just the Git SHA, including tag information and commit distance.

  • Adds VERGEN_GIT_DESCRIBE constant to expose the git describe output
  • Includes git_describe field in the VersionInfo struct
  • Registers the new label in the builder_info Prometheus metric

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SozinM
Copy link
Copy Markdown
Collaborator

SozinM commented Nov 27, 2025

Hi!
How's VERGEN_GIT_DESCRIBE different from CARGO_PKG_VERSION + VERGEN_GIT_SHA?

@SozinM
Copy link
Copy Markdown
Collaborator

SozinM commented Feb 23, 2026

stale

@SozinM SozinM closed this Feb 23, 2026
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.

bug: metric reth_builder_info should reflect version

3 participants