windows环境docker安装的prometheus和grafana;
grafana添加prometheusDatasource报错:Error reading Prometheus: An error occurred within the plugin

Error reading Prometheus: An error occurred within the plugin_java


Error reading Prometheus: An error occurred within the plugin_docker_02


搞了半天以为是安装的问题,最后发现是写的URL问题;不能写localhost和127.0.0.1;因为是docker安装的grafana,docker默认使用的是桥接网络,只能写本机的ip我的是192.168.68.124,解决

Error reading Prometheus: An error occurred within the plugin_java_03