Update collector/pg_stat_wal.go

Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Harry Cho <pandar00@Hotmail.com>
This commit is contained in:
Harry Cho 2024-11-11 08:59:06 -08:00 committed by GitHub
parent b18e8817aa
commit f90d6f05f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ func NewPGStatWALCollector(config collectorConfig) (Collector, error) {
}
var statsWALRecordsDesc = prometheus.NewDesc(
prometheus.BuildFQName(namespace, statWALSubsystem, "wal_records"),
prometheus.BuildFQName(namespace, statWALSubsystem, "wal_records_total"),
"Total number of WAL records generated",
[]string{},
prometheus.Labels{},