Skip to content

Commit a3232b7

Browse files
weiihannimulmat4
authored andcommitted
core/txpool/blobpool: fix metrics name for prometheus export (ethereum#27901) (#403)
Co-authored-by: imulmat4 <[email protected]>
1 parent 40d5153 commit a3232b7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

core/txpool/blobpool/metrics.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ var (
3535

3636
// The below metrics track the per-shelf metrics for the primary blob store
3737
// and the temporary limbo store.
38-
shelfDatausedGaugeName = "blobpool/shelf-%d/dataused"
39-
shelfDatagapsGaugeName = "blobpool/shelf-%d/datagaps"
40-
shelfSlotusedGaugeName = "blobpool/shelf-%d/slotused"
41-
shelfSlotgapsGaugeName = "blobpool/shelf-%d/slotgaps"
38+
shelfDatausedGaugeName = "blobpool/shelf_%d/dataused"
39+
shelfDatagapsGaugeName = "blobpool/shelf_%d/datagaps"
40+
shelfSlotusedGaugeName = "blobpool/shelf_%d/slotused"
41+
shelfSlotgapsGaugeName = "blobpool/shelf_%d/slotgaps"
4242

43-
limboShelfDatausedGaugeName = "blobpool/limbo/shelf-%d/dataused"
44-
limboShelfDatagapsGaugeName = "blobpool/limbo/shelf-%d/datagaps"
45-
limboShelfSlotusedGaugeName = "blobpool/limbo/shelf-%d/slotused"
46-
limboShelfSlotgapsGaugeName = "blobpool/limbo/shelf-%d/slotgaps"
43+
limboShelfDatausedGaugeName = "blobpool/limbo/shelf_%d/dataused"
44+
limboShelfDatagapsGaugeName = "blobpool/limbo/shelf_%d/datagaps"
45+
limboShelfSlotusedGaugeName = "blobpool/limbo/shelf_%d/slotused"
46+
limboShelfSlotgapsGaugeName = "blobpool/limbo/shelf_%d/slotgaps"
4747

4848
// The oversized metrics aggregate the shelf stats above the max blob count
4949
// limits to track transactions that are just huge, but don't contain blobs.

0 commit comments

Comments
 (0)