Fix misspelling of PostgreSQL

Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
This commit is contained in:
Daniel Swarbrick 2022-01-16 19:54:56 +01:00
parent 6cff384d74
commit 99f0b4c63c
No known key found for this signature in database
GPG Key ID: C346A9571DD986F5
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -576,14 +576,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{