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
commit 922d2aae39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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{