Skip to content

Commit 780dc68

Browse files
ianbibbySuperQ
andcommitted
Update collector/pg_stat_progress_vacuum.go
Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Ian Bibby <[email protected]> Signed-off-by: Ian Bibby <[email protected]>
1 parent 49c3d4b commit 780dc68

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)