Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    How to monitor Cloudron and Cloudron-apps with Grafana ?

    Grafana
    3
    6
    412
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JOduMonT
      JOduMonT last edited by JOduMonT

      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 ?

      1. Do you access /var/log directly via Grafana ?
      2. If yes which plugins are you using ?
      3. What is I want to monitor the performance of the MySQL used by a WordPress ?
      4. 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 😉

      1 Reply Last reply Reply Quote 2
      • marcusquinn
        marcusquinn last edited by

        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

        We're not here for a long time - but we are here for a good time :)
        Jersey/UK
        Work & Ecommerce Advice: https://brandlight.org
        Personal & Software Tips: https://marcusquinn.com

        JOduMonT 1 Reply Last reply Reply Quote 1
        • JOduMonT
          JOduMonT @marcusquinn last edited by

          @marcusquinn sound great, but from what I understand, I need to install Prometheus to digest the information for Grafana.

          1 Reply Last reply Reply Quote 0
          • jimcavoli
            jimcavoli App Dev last edited by

            @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.

            JOduMonT 2 Replies Last reply Reply Quote 1
            • JOduMonT
              JOduMonT @jimcavoli last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • JOduMonT
                JOduMonT @jimcavoli last edited by

                @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

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB