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

Commit e8ad0ed

Browse files
bern4rdellidiogonicoleti
authored andcommitted
Fix label name
1 parent 7094286 commit e8ad0ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gauges/indexes.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (g *Gauges) IndexBlocksRead() prometheus.Gauge {
9292
if err := g.query(schemaIndexBlocksReadQuery, &schemas, emptyParams); err == nil {
9393
for _, schema := range schemas {
9494
gauge.With(prometheus.Labels{
95-
"table": schema.Name,
95+
"schema": schema.Name,
9696
}).Set(table.IndexBlocksRead)
9797
}
9898
}
@@ -135,7 +135,7 @@ func (g *Gauges) IndexBlocksRead() prometheus.Gauge {
135135
if err := g.query(schemaIndexBlocksHitQuery, &schemas, emptyParams); err == nil {
136136
for _, schema := range schemas {
137137
gauge.With(prometheus.Labels{
138-
"table": schema.Name,
138+
"schema": schema.Name,
139139
}).Set(table.IndexBlocksRead)
140140
}
141141
}

0 commit comments

Comments
 (0)