You've already forked postgres_exporter
mirror of
https://github.com/prometheus-community/postgres_exporter.git
synced 2025-11-26 22:23:31 +03:00
Add dbname to example to avoid confusion
This commit is contained in:
committed by
Will Rouesnel
parent
5452a3aac6
commit
844076cd6d
@@ -13,7 +13,7 @@ This package is available for Docker:
|
|||||||
# Start an example database
|
# Start an example database
|
||||||
docker run --net=host -it --rm -e POSTGRES_PASSWORD=password postgres
|
docker run --net=host -it --rm -e POSTGRES_PASSWORD=password postgres
|
||||||
# Connect to it
|
# Connect to it
|
||||||
docker run --net=host -e DATA_SOURCE_NAME="postgresql://postgres:password@localhost:5432/?sslmode=disable" wrouesnel/postgres_exporter
|
docker run --net=host -e DATA_SOURCE_NAME="postgresql://postgres:password@localhost:5432/postgres?sslmode=disable" wrouesnel/postgres_exporter
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building and running
|
## Building and running
|
||||||
|
|||||||
Reference in New Issue
Block a user