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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • 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

Cloudron Forum

Apps | Demo | Docs | Install

Add option for users to add starting parameters

Scheduled Pinned Locked Moved Solved Prometheus
5 Posts 2 Posters 322 Views
    • 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.
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    wrote on last edited by BrutalBirdie
    #1

    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 drink drink. Cheers!

    nebulonN BrutalBirdieB 2 Replies Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to BrutalBirdie on last edited by
    #2

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

    1 Reply Last reply
    1
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    replied to BrutalBirdie on last edited by
    #3

    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 drink drink. Cheers!

    BrutalBirdieB 1 Reply Last reply
    0
  • BrutalBirdieB Offline
    BrutalBirdieB Offline
    BrutalBirdie Staff
    replied to BrutalBirdie on last edited by
    #4

    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 drink drink. Cheers!

    nebulonN 1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to BrutalBirdie on last edited by
    #5

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

    J 1 Reply Last reply
    0
  • girishG girish forked this topic on
  • J JLX89 referenced this topic on

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.