Skip to content

Commit

Permalink
Fix metric panic (flashbots#209)
Browse files Browse the repository at this point in the history
## 📝 Summary

<!--- A general summary of your changes -->

## 💡 Motivation and Context

<!--- (Optional) Why is this change required? What problem does it
solve? Remove this section if not applicable. -->

---

## ✅ I have completed the following steps:

* [ ] Run `make lint`
* [ ] Run `make test`
* [ ] Added tests (if applicable)
  • Loading branch information
dvush authored Oct 3, 2024
1 parent 83e0b64 commit 6cf6b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rbuilder/src/telemetry/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ register_metrics! {
pub static BLOCK_VALIDATION_TIME: HistogramVec = HistogramVec::new(
HistogramOpts::new("block_validation_time", "Block Validation Times (ms)")
.buckets(exponential_buckets_range(1.0, 3000.0, 100)),
&["builder_name"]
&[]
)
.unwrap();
pub static CURRENT_BLOCK: IntGauge =
Expand Down

0 comments on commit 6cf6b28

Please sign in to comment.