... | @@ -1211,7 +1211,7 @@ after `sudo -u postgres psql`: |
... | @@ -1211,7 +1211,7 @@ after `sudo -u postgres psql`: |
|
|
|
|
|
GRANT SELECT ON postgres_exporter.pg_stat_replication TO prometheus;
|
|
GRANT SELECT ON postgres_exporter.pg_stat_replication TO prometheus;
|
|
|
|
|
|
That is the procedure specified in the [0.4.7 README](https://github.com/prometheus-community/postgres_exporter/blob/v0.4.7/README.md). The new
|
|
That was the procedure specified in the [0.4.7 README](https://github.com/prometheus-community/postgres_exporter/blob/v0.4.7/README.md). The new
|
|
procedure is more involved:
|
|
procedure is more involved:
|
|
|
|
|
|
CREATE OR REPLACE FUNCTION __tmp_create_user() returns void as $$
|
|
CREATE OR REPLACE FUNCTION __tmp_create_user() returns void as $$
|
... | | ... | |