Commit graph

3 commits

Author SHA1 Message Date
Andre Heider
c5eb9e9e42 prometheus-statsd-exporter: add a config reload trigger
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-09 09:26:31 +01:00
Andre Heider
b53fcc98b9 prometheus-statsd-exporter: switch config to openwrt interface names
Drop the config knobs '*_address' and introduce '*_interface'
and '*_ipv6' instead.

'*_interface' takes an openwrt interface name ('loopback', 'lan',
'wan' etc), from which the primary IP is used to listen on. If
the matching '*_ipv6' is set to '1', the IPv6 adress will be used,
IPv4 elsewise.

procd interface triggers are now combined with this, so if a listen
interface is not yet configured when the init script is executed, the
process start is defered, and the trigger takes care of that once
the interfaces are ready.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-09 09:25:43 +01:00
Andre Heider
b57f6b1f5e prometheus-statsd-exporter: add new package
statsd_exporter receives StatsD-style metrics and exports them as Prometheus
metrics.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2018-12-12 07:10:38 +01:00