Skip to content

Commit 7c76896

Browse files
Fix issues mentioned in review. Add link to PostgreSQL documentation about pre-defined roles.
Signed-off-by: juris.greitans <[email protected]>
1 parent 545c3b7 commit 7c76896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ If you want to include only subset of databases, you can use option `--include-d
204204
### Running as non-superuser
205205

206206
To be able to collect metrics from `pg_stat*` views as non-superuser in PostgreSQL
207-
server versions >= 10 you can grant pg_monitor built-in role to the user. If
207+
server versions >= 10 you can grant the `pg_monitor` or `pg_read_all_stats` [built-in roles](https://www.postgresql.org/docs/current/predefined-roles.html) to the user. If
208208
you need to monitor older PostgreSQL servers, you will have to create functions
209209
and views as a superuser, and assign permissions separately to those.
210210

0 commit comments

Comments
 (0)