Skip to content

Commit 2019491

Browse files
committed
fix: comments for metrics
1 parent 9f5c613 commit 2019491

File tree

1 file changed

+3
-3
lines changed
  • magicblock-metrics/src/metrics

1 file changed

+3
-3
lines changed

magicblock-metrics/src/metrics/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ lazy_static::lazy_static! {
193193
// CommittorService
194194
// -----------------
195195
static ref COMMITTOR_INTENTS_COUNT: IntCounter = IntCounter::new(
196-
"committor_intents_count", "Total number of scheduled"
196+
"committor_intents_count", "Total number of scheduled committor intents"
197197
).unwrap();
198198

199199
static ref COMMITTOR_INTENTS_BACKLOG_COUNT: IntGauge = IntGauge::new(
@@ -228,7 +228,7 @@ lazy_static::lazy_static! {
228228
static ref COMMITTOR_INTENT_TASK_PREPARATION_TIME: HistogramVec = HistogramVec::new(
229229
HistogramOpts::new(
230230
"committor_intent_task_preparation_time",
231-
"Committor in seconds spent on task preparation"
231+
"Time in seconds spent on task preparation"
232232
)
233233
.buckets(
234234
vec![0.1, 1.0, 2.0, 3.0, 5.0]
@@ -239,7 +239,7 @@ lazy_static::lazy_static! {
239239
static ref COMMITTOR_INTENT_ALT_PREPARATION_TIME: Histogram = Histogram::with_opts(
240240
HistogramOpts::new(
241241
"committor_intent_alt_preparation_time",
242-
"Committor in seconds spent on ALTs preparation"
242+
"Time in seconds spent on ALTs preparation"
243243
)
244244
.buckets(
245245
vec![1.0, 3.0, 5.0, 10.0, 15.0, 17.0, 20.0]

0 commit comments

Comments
 (0)