Skip to content

Commit b47ef94

Browse files
ianbibbySuperQ
andauthored
Update collector/pg_stat_progress_vacuum.go
Co-authored-by: Ben Kochie <superq@gmail.com> Signed-off-by: Ian Bibby <470816+ianbibby@users.noreply.github.com>
1 parent 49c3d4b commit b47ef94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_stat_progress_vacuum.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func (c *PGStatProgressVacuumCollector) Update(ctx context.Context, instance *in
162162
if heapBlksTotal.Valid {
163163
heapTotal = float64(heapBlksTotal.Int64)
164164
}
165-
ch <- prometheus.MustNewConstMetric(statProgressVacuumHeapBlksTotal, prometheus.GaugeValue, heapTotal, labels...)
165+
ch <- prometheus.MustNewConstMetric(statProgressVacuumHeapBlksTotal, prometheus.CounterValue, heapTotal, labels...)
166166

167167
heapScanned := 0.0
168168
if heapBlksScanned.Valid {

0 commit comments

Comments
 (0)