Fix spelling mistake in source.
Gbp-Pq: Name 01-Fix_spelling_errors.patch
This commit is contained in:
parent
ce4be23b88
commit
d959652918
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue