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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Prometheus
  3. What port do Prometheus listen on, for Grafana to connect?

What port do Prometheus listen on, for Grafana to connect?

Scheduled Pinned Locked Moved Prometheus
22 Posts 4 Posters 2.8k Views 4 Watching
  • 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.
  • S Offline
    S Offline
    stoccafisso
    wrote on last edited by stoccafisso
    #11

    Hmm....Grafana seems not to pick up on the new sources. And I cant find any refresh/reload button in Grafana. Any advice?

    jamesJ 1 Reply Last reply
    0
    • S stoccafisso

      Hmm....Grafana seems not to pick up on the new sources. And I cant find any refresh/reload button in Grafana. Any advice?

      jamesJ Online
      jamesJ Online
      james
      Staff
      wrote on last edited by
      #12

      @stoccafisso when changing config files inside an app, it is always a good idea to restart the app.
      Did you do that?

      1 Reply Last reply
      1
      • S Offline
        S Offline
        stoccafisso
        wrote on last edited by
        #13

        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

        1 Reply Last reply
        0
        • S Offline
          S Offline
          stoccafisso
          wrote on last edited by
          #14

          screenshot-prometheus.dnfi.no-2025.05.26-17_25_10.png

          As you see, I have two new endpoints recogniced by Prometheus, but Grafana will not pick up that information

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stoccafisso
            wrote on last edited by
            #15

            screenshot-grafana.dnfi.no-2025.05.26-17_29_23.png

            1 Reply Last reply
            0
            • jamesJ Online
              jamesJ Online
              james
              Staff
              wrote on last edited by
              #16

              Can you push the metrics to the demo instance as well so I can take a look?

              S 1 Reply Last reply
              1
              • jamesJ Online
                jamesJ Online
                james
                Staff
                wrote on last edited by
                #17

                Also, inside Grafana, for the Prometheus Data source.
                There is a pre-made dashboard for Prometheus:

                image.png
                Import it, and please view it so see, if you get any data at all.

                0efe1553-de04-4409-980d-a7b8fc6c6917-image.png

                1 Reply Last reply
                2
                • S Offline
                  S Offline
                  stoccafisso
                  wrote on last edited by stoccafisso
                  #18

                  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.

                  1 Reply Last reply
                  1
                  • jamesJ james

                    Can you push the metrics to the demo instance as well so I can take a look?

                    S Offline
                    S Offline
                    stoccafisso
                    wrote on last edited by
                    #19

                    @james How do I do that? And is it needed? I have solved the problem?

                    jamesJ 1 Reply Last reply
                    0
                    • S stoccafisso

                      @james How do I do that? And is it needed? I have solved the problem?

                      jamesJ Online
                      jamesJ Online
                      james
                      Staff
                      wrote on last edited by
                      #20

                      @stoccafisso no, that is no longer needed since you have solved your issue.

                      S 1 Reply Last reply
                      2
                      • jamesJ james

                        @stoccafisso no, that is no longer needed since you have solved your issue.

                        S Offline
                        S Offline
                        stoccafisso
                        wrote on last edited by
                        #21

                        @james and @joseph Thanks for helping 👍

                        1 Reply Last reply
                        1
                        • jadudmJ Offline
                          jadudmJ Offline
                          jadudm
                          wrote on last edited by
                          #22

                          For anyone doing a setup on Cloudron, I found my way here. I was specifically trying to set up monitoring of a Minio instance on my installation.

                          1. Install Prometheus normally. No special configuration is needed.
                          2. When you do mc admin prometheus generate ALIAS, you will need to make sure you set that alias up as having enough permissions to actually read everything. Using an alias that has limited access controls (e.g. read-only on a single bucket) will not work; Prometheus will not be able to query the Minio API.
                          3. Once Prometheus has a positive health check on the Minio instance, you can then set up Grafana. Install normally.
                          4. When you add Prometheus as a data source, per above, just use the HTTPS URL of the Prometheus installation on Cloudron. No port is needed.
                          5. The user must be a valid cloudron user. You might want to create a new cloudron user called "prom-graf" or similar, and only give that user permission to access Prometheus. This is just to isolate the access from (say) a standard account you use for all your other tasks/work. Add that username and password in the "basic auth" section.

                          At this point, you can add some dashboards. I used the "import" option, and copy-pasted JSON from these dashboards:

                          https://grafana.com/grafana/dashboards/13502-minio-dashboard/

                          At that point, I had dashboards living for my Minio installation.

                          I have no idea yet what log volume will look like, or rotation, or... or... but, I might update this thread (or start another) later as I discover those things. I found myself having to dig around for this information/experiment. Perhaps I just didn't read the correct docs.

                          I use Cloudron on a Dell 7040 I bought on eBay.

                          1 Reply Last reply
                          3
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Bookmarks
                          • Search