You can configure the NRDOT Collector to monitor multiple PostgreSQL instances from one collector. This is useful if you have multiple PostgreSQL databases running on different hosts or ports and want to collect metrics from all of them using a single NRDOT Collector instance.
Prerequisites
- NRDOT is installed and configured for your PostgreSQL instances:
Add multi-receiver configuration
Select the deployment type that matches your environment. You can add more receivers as needed for additional PostgreSQL instances.
Restart NRDOT Collector
Restart the NRDOT Collector service for configuration changes to take effect. The collector loads configuration parameters once at startup and doesn't support hot-reloading. Any changes made to the configuration while the collector is running remain inactive until the process restarts.
bash
$sudo systemctl restart nrdot-collector