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

    Solved Configure prometheus.yml file

    Prometheus
    2
    3
    327
    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.
    • K
      kenjoo last edited by

      Hi,

      What is the "cloudron"/proper way of configuring the prometheus.yml file? I am trying to set up prometheus to collect some data on my server. I have installed the prometheus app and also installed a node-exporter in the root folder of my server listening to the port 9100. Next I would need to configure the prometheus app such that it will scrape from the 9100 port I created.

      I tried using the app -> config -> terminal/file manager option but found out that the file is read only.

      Any hints or pointers would be great!

      Thanks!

      fbartels 1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels App Dev @kenjoo last edited by

        @kenjoo said in Configure prometheus.yml file:

        I tried using the app -> config -> terminal/file manager option but found out that the file is read only.

        For me the file is writable using the procedure.

        The alternative would be to open a terminal and navigate to /app/data/config and then use nano or vi to modify the file.

        K 1 Reply Last reply Reply Quote 0
        • K
          kenjoo @fbartels last edited by

          @fbartels it works, thanks!

          1 Reply Last reply Reply Quote 0
          • Topic has been marked as a question  nebulon nebulon 
          • Topic has been marked as solved  nebulon nebulon 
          • Forked by  girish girish 
          • First post
            Last post
          Powered by NodeBB