You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-11-25 10:43:13 +03:00
committed by
Will Rouesnel
parent
3b9a68897f
commit
1ec400b707
@@ -2,9 +2,9 @@
|
|||||||
[](https://coveralls.io/github/wrouesnel/postgres_exporter?branch=master)
|
[](https://coveralls.io/github/wrouesnel/postgres_exporter?branch=master)
|
||||||
[](https://goreportcard.com/report/github.com/wrouesnel/postgres_exporter)
|
[](https://goreportcard.com/report/github.com/wrouesnel/postgres_exporter)
|
||||||
|
|
||||||
# PostgresSQL Server Exporter
|
# PostgreSQL Server Exporter
|
||||||
|
|
||||||
Prometheus exporter for PostgresSQL server metrics.
|
Prometheus exporter for PostgreSQL server metrics.
|
||||||
Supported Postgres versions: 9.1 and up.
|
Supported Postgres versions: 9.1 and up.
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
@@ -44,7 +44,7 @@ Package vendoring is handled with [`govendor`](https://github.com/kardianos/gove
|
|||||||
|
|
||||||
### Setting the Postgres server's data source name
|
### Setting the Postgres server's data source name
|
||||||
|
|
||||||
The PostgresSQL server's [data source name](http://en.wikipedia.org/wiki/Data_source_name)
|
The PostgreSQL server's [data source name](http://en.wikipedia.org/wiki/Data_source_name)
|
||||||
must be set via the `DATA_SOURCE_NAME` environment variable.
|
must be set via the `DATA_SOURCE_NAME` environment variable.
|
||||||
|
|
||||||
For running it locally on a default Debian/Ubuntu install, this will work (transpose to init script as appropriate):
|
For running it locally on a default Debian/Ubuntu install, this will work (transpose to init script as appropriate):
|
||||||
|
|||||||
Reference in New Issue
Block a user