How to monitor Cloudron and Cloudron-apps with Grafana ?
-
Hi;
I just installed Grafana because I want to visualise few logs but I can't figure how to access Cloudron logs and/or logs from Cloudron Apps.I means it seams I need to install telegraph and/or a similar service on the host.
How do you manage that ?
- Do you access /var/log directly via Grafana ?
- If yes which plugins are you using ?
- What is I want to monitor the performance of the MySQL used by a WordPress ?
- I see a Data Sources / Graphite, it is the same Graphite than Cloudron use, how I connect to each others ?
In short how to use Grafana in a Cloudron context
-
One of our team developed these plugins for monitoring WP performance for interest:
- https://github.com/rossigee/wordpress-web-request-metrics
- https://github.com/rossigee/woocommerce-prometheus-metrics
Otherwise, maybe something in these links: https://www.qwant.com/?q=wordpress grafana plugin
-
@marcusquinn sound great, but from what I understand, I need to install Prometheus to digest the information for Grafana.
-
@j-dufraigne Grafana supports lots of backends, among them Prometheus, but also supports Graphite, ElasticSearch, InfluxDB, Cloudwatch, and many more via data source plugins. Cloudron's internal graphs are powered by Graphite (fed via collectd in case you're curious). The linked items above do need prometheus...which is on my list, but hasn't made it in yet.
-
@jimcavoli thank for the list.
So to link graphite to grafana I need to install Prometheus on the Cloudron host ?what about the JSON plugin ?
https://grafana.com/grafana/plugins/simpod-json-datasource -
@jimcavoli said in How to monitor Cloudron and Cloudron-apps with Grafana ?:
fed via collectd in case you're curious
but maybe I should focus on Collectd since my goal is to monitor IPTables