1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Andre Heider
55d820ee36 prometheus-statsd-exporter: bump version
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-09 09:26:31 +01:00
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
9fadc6bc7a prometheus-statsd-exporter: fix compilation with go 1.11.4
This fixes the exact same build error reported at [0].
Upstream fixed it too, see [1], but I decided to use the minimal patch
until a new version is released instead.

[0] https://github.com/golang/go/issues/29281
[1] https://github.com/prometheus/statsd_exporter/pull/171

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-04 07:33:15 +01:00
Andre Heider
cdacfc888c prometheus-statsd-exporter: add myself as maintainer
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-01-04 07:33:15 +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