mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-09 13:21:50 +08:00

* chore: update annotations for pre blocks in configuration instructions * chore: update list of collected metrics for postgres integration * chore: change non-string units to string in metrics collected list * chore: some cleanups for postgres config instructions * chore: some cleanup to metrics connection status resource labels * chore: remove stub pipeline in postgres integration - no interesting log parsing to be done
554 B
554 B
Prepare postgres for monitoring
- Have a running postgresql instance
- Have the monitoring user created
- Have the monitoring user granted the necessary permissions
This receiver supports PostgreSQL versions 9.6+
For PostgreSQL versions 10+, run:
create user monitoring with password '<PASSWORD>';
grant pg_monitor to monitoring;
grant SELECT ON pg_stat_database to monitoring;
For PostgreSQL versions >= 9.6 and <10, run:
create user monitoring with password '<PASSWORD>';
grant SELECT ON pg_stat_database to monitoring;