Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 7b9a09c

Browse files
committed
Add missing label definition
1 parent aa41622 commit 7b9a09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gauges/locks.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func (g *Gauges) Locks() *prometheus.GaugeVec {
2020
Help: "Number of active locks on the database by locktype and mode",
2121
ConstLabels: g.labels,
2222
},
23-
[]string{"mode"},
23+
[]string{"locktype", "mode"},
2424
)
2525
go func() {
2626
for {

0 commit comments

Comments
 (0)