Skip to content

Conversation

@metachris
Copy link
Collaborator

@metachris metachris commented Dec 15, 2025

Fixes #875

If you've implemented the mev_boost_winning_bid_value metric, this will be a breaking change, as the labels change. See #875 for more details.

Copilot AI review requested due to automatic review settings December 15, 2025 08:18
Copy link

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 updates histogram metrics to use Prometheus-standard label naming conventions by switching from Histogram to PrometheusHistogram methods. This change ensures compatibility with Prometheus's standard le (less than or equal) labels for histogram buckets instead of custom bucket labels.

Key Changes

  • Replaced metrics.NewHistogram with metrics.NewPrometheusHistogram for winning bid value tracking
  • Updated all GetOrCreateHistogram calls to GetOrCreatePrometheusHistogram for bid values, relay latency, and milliseconds-into-slot metrics

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

@metachris metachris merged commit 6f06257 into develop Dec 15, 2025
5 checks passed
@metachris metachris deleted the metrics-le branch December 15, 2025 12:19
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: mev-boost exposes VictoriaMetrics histogram format despite advertising Prometheus metrics

3 participants