Fix spelling mistake in source.

Gbp-Pq: Name 01-Fix_spelling_errors.patch
This commit is contained in:
Debian Go Packaging Team 2020-01-20 13:25:39 +01:00 committed by Martina Ferrari
parent ce4be23b88
commit d959652918
1 changed files with 2 additions and 2 deletions

View File

@ -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{