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 add Prometheus data source to Grafana?

    Grafana
    3
    3
    2397
    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.
    • C
      cyberfreakde last edited by

      When I try to add the Prometheus url http://localhost:9090/metrics to Grafana I get the error

      Unknown error during query transaction. Please check JS console logs.
      

      Am I missing something?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @cyberfreakde last edited by

        @cyberfreakde I don't have much experience with either of these but you should add it by prometheus' domain name. Since each app is a container, the "localhost" of each app is different.

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

          Yeah, you likely don't want localhost you want the uuid of the installation as the hostname since that's what's exposed in the docker virtual network.

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