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

558 B

Prepare mongo for monitoring

  • Have a running mongodb instance
  • Have the monitoring user created
  • Have the monitoring user granted the necessary permissions

Mongodb recommends to set up a least privilege user (LPU) with a clusterMonitor role in order to collect.

Run the following command to create a user with the necessary permissions.

use admin
db.createUser(
  {
    user: "monitoring",
    pwd: "<PASSWORD>",
    roles: ["clusterMonitor"]
  }
);

Replace <PASSWORD> with a strong password and set is as env var MONGODB_PASSWORD.