Skip to content

change(build): Adds prometheus as a default feature in zebrad - #9677

Merged
mergify[bot] merged 2 commits into
mainfrom
hotfix-metrics
Jul 3, 2025
Merged

change(build): Adds prometheus as a default feature in zebrad#9677
mergify[bot] merged 2 commits into
mainfrom
hotfix-metrics

Conversation

@arya2

@arya2 arya2 commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

Motivation

Closes #9158.

Solution

  • Adds prometheus to the list of default features in zebrad, and
  • Adds a commented-out metrics.endpoint_addr to the docker config

PR Checklist

  • The PR name is suitable for the release notes.
  • The solution is tested.
  • The documentation is up to date.

…etrics endpoint config field in `entrypoint.sh`.
@arya2 arya2 self-assigned this Jul 2, 2025
@arya2
arya2 requested review from a team as code owners July 2, 2025 20:16
@arya2
arya2 requested review from conradoplg and removed request for a team July 2, 2025 20:16
@github-actions github-actions Bot added C-feature Category: New features labels Jul 2, 2025
conradoplg
conradoplg previously approved these changes Jul 2, 2025

@conradoplg conradoplg left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, but I don't really get why that fix was needed 🤔

@arya2

arya2 commented Jul 3, 2025

Copy link
Copy Markdown
Contributor Author

I don't really get why that fix was needed

The crates were being used directly (with qualifiers) in tests behind the feature.

mergify Bot added a commit that referenced this pull request Jul 3, 2025
@mergify
mergify Bot merged commit 5bac400 into main Jul 3, 2025
@mergify
mergify Bot deleted the hotfix-metrics branch July 3, 2025 22:34
@natalieesk natalieesk added this to Zebra Jul 9, 2025
@natalieesk natalieesk moved this to Won't Fix in Zebra Jul 9, 2025
aphelionz pushed a commit to ShieldedLabs/zebra-crosslink that referenced this pull request Aug 12, 2025
…hFoundation#9677)

* adds `prometheus` to `default` zebrad feature, adds a commented out metrics endpoint config field in `entrypoint.sh`.

* fixes test compilation and clippy warnings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-feature Category: New features

Projects

No open projects
Status: Won't Fix

Development

Successfully merging this pull request may close these issues.

feature: Enable prometheus feature in docker images

3 participants