Skip to content

Commit d8a44d6

Browse files
authored
Fix indexer_indexer metric prefix (#24204)
## Description The framework is already appending \_indexer to the metric names so i'm getting stuff like `checkpoint_blob_indexer_indexer_watermark_checkpoint_in_db`
1 parent 5892bda commit d8a44d6

File tree

1 file changed

+1
-1
lines changed
  • crates/sui-checkpoint-blob-indexer/src

1 file changed

+1
-1
lines changed

crates/sui-checkpoint-blob-indexer/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async fn main() -> anyhow::Result<()> {
129129

130130
let cancel = tokio_util::sync::CancellationToken::new();
131131

132-
let registry = prometheus::Registry::new_custom(Some("checkpoint_blob_indexer".into()), None)?;
132+
let registry = prometheus::Registry::new_custom(Some("checkpoint_blob".into()), None)?;
133133
let metrics_service = sui_indexer_alt_metrics::MetricsService::new(
134134
args.metrics_args,
135135
registry.clone(),

0 commit comments

Comments
 (0)