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 Add option for users to add starting parameters

    Prometheus
    2
    5
    311
    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.
    • BrutalBirdie
      BrutalBirdie Staff last edited by BrutalBirdie

      I just noticed my Prometheus has no data from 2 months ago, did some research:

      When to remove old data. Defaults to 15d. Overrides
      https://prometheus.io/docs/prometheus/latest/storage/

      This is bad for obvious reasons, I myself use Prometheus to analyze usage of BigBlueButton Servers / Clusters.
      And now suddenly data is missing. Why I have not noticed this earlier I don't know.

      This is configured via. starting parameters --storage.tsdb.retention.time and not via the config file.

      Giving the user the option to change this would be awesome.

      (ps: I will get my hands on this issue tomorrow.)

      Like my work? Consider donating a beer 🍻 Cheers!

      nebulon BrutalBirdie 2 Replies Last reply Reply Quote 0
      • nebulon
        nebulon Staff @BrutalBirdie last edited by

        @brutalbirdie this would indeed be good to allow. Strange that this is not part of the config file though.

        1 Reply Last reply Reply Quote 1
        • BrutalBirdie
          BrutalBirdie Staff @BrutalBirdie last edited by

          There is an open Issue and PR for this topic on the upstream project to make this configurable via config file as well.

          https://github.com/prometheus/prometheus/issues/9115

          Like my work? Consider donating a beer 🍻 Cheers!

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

            I added a PR for the Cloudron app since the github PR is kinda stale, and I am still losing data.

            https://git.cloudron.io/cloudron/prometheus-server-app/-/merge_requests/3

            Like my work? Consider donating a beer 🍻 Cheers!

            nebulon 1 Reply Last reply Reply Quote 0
            • nebulon
              nebulon Staff @BrutalBirdie last edited by

              @brutalbirdie thanks, I merged it and made a new package release.

              J 1 Reply Last reply Reply Quote 0
              • Forked by  girish girish 
              • Referenced by  J JLX89 
              • First post
                Last post
              Powered by NodeBB