I have restarted my Rancher Server (using external MySQL) with the following command:
docker run -d --restart=unless-stopped -e CATTLE_PROMETHEUS_EXPORTER=true -p 9108:9108 -p 8080:8080 rancher/server:stable --db-host <rds_endpoint> --db-port 3306 --db-user cattle --db-pass <password> --db-name cattle
as suggested here.
In the grafana view (I have installed the relevant prometheus stack, when selecting the Rancher Server
tab, there are no data points and all is N/A
.
Any suggestions on how to troubleshoot this?
Grafana shows metrics for containers as also my Rancher host (only 1 for the moment).
The setup is on AWS with RDS for the external MySQL.