Merge pull request #602 from dswarbrick/fix-postgres-spelling

Fix misspelling of PostgreSQL
This commit is contained in:
Ben Kochie
2022-01-16 21:14:26 +01:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ assignees: ''
insert list of flags used here insert list of flags used here
``` ```
* PostgresSQL version: * PostgreSQL version:
insert PostgreSQL version here insert PostgreSQL version here

View File

@@ -576,14 +576,14 @@ func (e *Exporter) setupInternalMetrics() {
Namespace: namespace, Namespace: namespace,
Subsystem: exporter, Subsystem: exporter,
Name: "last_scrape_duration_seconds", 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, ConstLabels: e.constantLabels,
}) })
e.totalScrapes = prometheus.NewCounter(prometheus.CounterOpts{ e.totalScrapes = prometheus.NewCounter(prometheus.CounterOpts{
Namespace: namespace, Namespace: namespace,
Subsystem: exporter, Subsystem: exporter,
Name: "scrapes_total", 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, ConstLabels: e.constantLabels,
}) })
e.error = prometheus.NewGauge(prometheus.GaugeOpts{ e.error = prometheus.NewGauge(prometheus.GaugeOpts{