Skip to content

Commit d5500ce

Browse files
pandar00SuperQ
authored andcommitted
Update collector/pg_stat_wal.go
Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Harry Cho <[email protected]>
1 parent 18e2097 commit d5500ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_stat_wal.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func NewPGStatWALCollector(config collectorConfig) (Collector, error) {
3737
}
3838

3939
var statsWALRecordsDesc = prometheus.NewDesc(
40-
prometheus.BuildFQName(namespace, statWALSubsystem, "wal_records"),
40+
prometheus.BuildFQName(namespace, statWALSubsystem, "wal_records_total"),
4141
"Total number of WAL records generated",
4242
[]string{},
4343
prometheus.Labels{},

0 commit comments

Comments
 (0)