hassio-addons / addon-prometheus

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

configuring remoteWrite #51

Open daschick111 opened 1 year ago

daschick111 commented 1 year ago

Problem/Motivation

in order not to crash my sdcard in my raspberry, i'd like to use remote write

Expected behavior

a small howto to get it configured :)

lupino3 commented 1 year ago

Based on my read of the source code, this is not currently implemented.

It would require changes in the templating code (https://github.com/hassio-addons/addon-prometheus/blob/c50878cb1750245fe45d7149783edfb6effbbbc2/prometheus/rootfs/opt/prometheus-configgen/combiner#L12) to do something similar to what is done to support scrape targets.