Skip to content

Commit

Permalink
Remove hash label
Browse files Browse the repository at this point in the history
  • Loading branch information
Szymongib committed Aug 16, 2022
1 parent 8df864e commit 608a9d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions prometheus/src/snapshot_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ pub fn write_snapshot_metrics<W: io::Write>(
name: "solana_snapshot_last_full_snapshot_slot",
help: "The slot height of the most recent full snapshot",
type_: "gauge",
metrics: vec![Metric::new(full_snapshot_info.slot)
.with_label("hash", full_snapshot_info.hash.to_string())],
metrics: vec![Metric::new(full_snapshot_info.slot)],
},
)?;

Expand All @@ -46,8 +45,7 @@ pub fn write_snapshot_metrics<W: io::Write>(
name: "solana_snapshot_last_incremental_snapshot_slot",
help: "The slot height of the most recent incremental snapshot",
type_: "gauge",
metrics: vec![Metric::new(incremental_snapshot_info.slot)
.with_label("hash", incremental_snapshot_info.hash.to_string())],
metrics: vec![Metric::new(incremental_snapshot_info.slot)],
},
)
}

0 comments on commit 608a9d7

Please sign in to comment.