hassio-addons / addon-prometheus

Prometheus - Home Assistant Community Add-ons
https://addons.community
MIT License
20 stars 29 forks source link

Unable to change default storage retention value from 15d #52

Open Nesurion opened 1 year ago

Nesurion commented 1 year ago

Problem/Motivation

I'm unable to change the retention time for prometheus. A longer retention time would allow me to look at data like: Power consumption in the last 30 days.

Expected behavior

I'm able to change the retention time.

Actual behavior

Unable to change the retention.

Steps to reproduce

Run the Prometheus addon, and you can see the 15d default value under "Runtime & Build Information" for the addon

Proposed changes

The suggestion in issue https://github.com/hassio-addons/addon-prometheus/issues/20 looks good to me.

I'd like to raise this topic again, because the existing issue was marked as stale and the PR was closed without being merged.

robtheone commented 1 year ago

I've been waiting on this since Sept 2021. Someone proposed the changes needed, a change by adding 9 lines of code to solve this, yet it doesn't seem to ever get changed.

Nesurion commented 1 year ago

@robtheone I switched to Victoria Metrics. https://github.com/fuslwusl/homeassistant-addon-victoriametrics I‘ve been only running it for a few weeks, but it does the job so far. Maybe this is an alternative for you too.