From d9596529180c4afaf1abcbc7d5b5e4b3a2596573 Mon Sep 17 00:00:00 2001 From: Debian Go Packaging Team Date: Mon, 20 Jan 2020 13:25:39 +0100 Subject: [PATCH] Fix spelling mistake in source. Gbp-Pq: Name 01-Fix_spelling_errors.patch --- cmd/postgres_exporter/postgres_exporter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/postgres_exporter/postgres_exporter.go b/cmd/postgres_exporter/postgres_exporter.go index 1a9eaaa..ab868a5 100644 --- a/cmd/postgres_exporter/postgres_exporter.go +++ b/cmd/postgres_exporter/postgres_exporter.go @@ -1113,14 +1113,14 @@ func (e *Exporter) setupInternalMetrics() { Namespace: namespace, Subsystem: exporter, Name: "last_scrape_duration_seconds", - Help: "Duration of the last scrape of metrics from PostgresSQL.", + Help: "Duration of the last scrape of metrics from PostgreSQL.", ConstLabels: e.constantLabels, }) e.totalScrapes = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: namespace, Subsystem: exporter, Name: "scrapes_total", - Help: "Total number of times PostgresSQL was scraped for metrics.", + Help: "Total number of times PostgreSQL was scraped for metrics.", ConstLabels: e.constantLabels, }) e.error = prometheus.NewGauge(prometheus.GaugeOpts{