Grafana cannot connect to Prometheus data source
warningConnection ManagementUpdated Oct 30, 2024(via Exa)
Technologies:
How to detect:
Grafana fails to connect to Prometheus at http://localhost:9090, preventing metrics visualization due to incorrect data source configuration, network issues, or Prometheus not running
Recommended action:
Verify Prometheus is running at http://localhost:9090. In Grafana, navigate to Configuration > Data Sources > Add Prometheus and set URL to http://localhost:9090. Check network connectivity between containers if using Docker. Verify no firewalls are blocking communication. Restart both Prometheus and Grafana Docker containers if issues persist.