From 54a0cf0e63b70736f041d6add9be5f802a500b69 Mon Sep 17 00:00:00 2001 From: Will Rouesnel Date: Mon, 25 Nov 2019 23:50:43 +1100 Subject: [PATCH] Fix build error introduced by pg_archiver metrics bad merge. 2772da8dbe8fe91f5db8fbb75f664e023803f917 was missing an additional parameter. This fixes the build. --- cmd/postgres_exporter/postgres_exporter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/postgres_exporter/postgres_exporter.go b/cmd/postgres_exporter/postgres_exporter.go index 9f07e991..b75ec108 100644 --- a/cmd/postgres_exporter/postgres_exporter.go +++ b/cmd/postgres_exporter/postgres_exporter.go @@ -296,6 +296,7 @@ var builtinMetricMaps = map[string]intermediateMetricMap{ "stats_reset": {DISCARD, "Time at which these statistics were last reset", nil, nil}, "last_archive_age": {GAUGE, "Time in seconds since last WAL segment was successfully archived", nil, nil}, }, + true, 0, }, "pg_stat_activity": {