Raj Kamal Singh a295bf2fb6
Feat: QS: structure for built in integrations (#4655)
* feat: get builtin integrations started with nginx

* feat: get started with embedding and parsing of builtin integrations

* chore: add icons for nginx and redis integrations

* chore: stash current state of work

* chore: remove all yaml annotations since moved to JSON assets for bundled integrations

* chore: add file uri hydration in integration spec

* chore: refactor file uri hydration logic

* chore: add support for referencing JSON files with file uri

* chore: bring in initial integration assets

* chore: hookup builtin integrations and get all tests passing

* chore: update icons for postgres and mongo and some cleanup

* chore: some more cleanup

---------

Co-authored-by: Raj Singh <raj@Rajs-MacBook-Pro.local>
2024-03-07 19:26:20 +05:30

613 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;

Set the following environment variables:

  • POSTGRESQL_PASSWORD