• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Multi-receiver configuration with NRDOT

Preview

We're still working on this feature, but we'd love for you to try it out!

This feature is currently provided as part of a preview pursuant to our pre-release policies.

You can configure the NRDOT Collector to monitor multiple MySQL instances from one collector. This is useful if you have multiple MySQL databases running on different hosts or ports and want to collect metrics from all of them using a single NRDOT Collector instance.

Prerequisites

Add multi-receiver configuration

The following example shows how to configure the NRDOT Collector to monitor two MySQL instances using a multi-receiver configuration. You can add more receivers as needed for additional MySQL instances.

receivers:
nrmysql/instance1: &nrmysql-common
endpoint: "<INSTANCE_1_HOST>:<PORT>"
username: "<YOUR_DB_USERNAME>"
password: "<YOUR_DB_PASSWORD>"
collection_interval: 10s
nrmysql/instance2:
<<: *nrmysql-common
endpoint: "<INSTANCE_2_HOST>:<PORT>"
service:
pipelines:
metrics:
receivers: [nrmysql/instance1, nrmysql/instance2]
exporters: [otlp/newrelic]

Restart NRDOT Collector

Restarting is required, not optional — the collector loads its configuration once at startup and doesn't hot-reload. Any configuration change has no effect until you restart the process.

bash
$
sudo systemctl restart nrdot-collector

Compatibility and prerequisites

Learn about supported MySQL versions, required grants, and network requirements.

Metrics reference

Learn about the available metrics collected by the NRDOT Collector.

Troubleshooting guide

Learn how to troubleshoot common issues with MySQL monitoring.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.