What port do Prometheus listen on, for Grafana to connect?
-
@stoccafisso just the https port (all apps on cloudron are behind a reverse proxy). so https://prometheus.cloudron.tld
-
@stoccafisso just the https port (all apps on cloudron are behind a reverse proxy). so https://prometheus.cloudron.tld
@joseph I tried both with or without https://
-
Installed on the demo server, Prometheus
https://pm.demo.cloudron.io
and Grafanahttps://grafa.demo.cloudron.io
Added Prometheus as a new data source and used basic auth.
Save and test:
You can check it out https://my.demo.cloudron.io/
cloudron
:cloudron
as the login and Grafana default admin isadmin
:admin
. -
Installed on the demo server, Prometheus
https://pm.demo.cloudron.io
and Grafanahttps://grafa.demo.cloudron.io
Added Prometheus as a new data source and used basic auth.
Save and test:
You can check it out https://my.demo.cloudron.io/
cloudron
:cloudron
as the login and Grafana default admin isadmin
:admin
.Hi @james
Now I see, it was just to skip the port 9090 behind URL. I didn't even consider it possible. Thank you, it worked now
-
Hi @james
Now I see, it was just to skip the port 9090 behind URL. I didn't even consider it possible. Thank you, it worked now
-
But now I experience another problem. Grafana doesnt seem to condsider the new modified prometheus config file. Is there some cache stored in Grafana, or Prometheus, that I need to clear out in order for those two to see the new config file?
-
Ahh...in Prometheus, just click "Status - Service discovery"
-
You may set it to "solved"
-
Hmm....Grafana seems not to pick up on the new sources. And I cant find any refresh/reload button in Grafana. Any advice?
-
Hmm....Grafana seems not to pick up on the new sources. And I cant find any refresh/reload button in Grafana. Any advice?
-
Yes, restarted both after updating "Status - Service discovery" in Prometheus. Even deleted the "prometheus" in Grafana and loaded a new one. It did not pick up on the new services in Prometheus
-
As you see, I have two new endpoints recogniced by Prometheus, but Grafana will not pick up that information
-
-
I did a brutal problemsolving hack, deleted Grafana and reinstalled it. Now it works.
I think it may have been the "Node Exporter Full" dashboard that was holding the old config in cache, I may have solved it just by deleting the Node Exporter Full and then reinstalled it.
-
@james How do I do that? And is it needed? I have solved the problem?
-
@james How do I do that? And is it needed? I have solved the problem?
-
@stoccafisso no, that is no longer needed since you have solved your issue.