Commit Graph
18 Commits
Author SHA1 Message Date
Andre Heider 43c0f0486e prometheus-node-exporter-lua: use the new ubus dsl metrics
This is significantly faster.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2021-02-04 06:14:37 +01:00
Andre Heider f5c8565d1b meson: fix building host binaries with ccache
With CONFIG_CCACHE, $HOSTCC is 'ccache gcc' while $TARGET_CC points to a
single wrapper script. Compiling target binaries with ccache works, but
doesn't for host binaries, because we need to supply an argv array for
argc > 1 in the meson cross file.

Always pass an array for the c and c++ compiler, and while at it, do it
for the target as well - just to be on the safe side if that ever
changes.

Fixes #10982.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-01-11 18:49:17 +01:00
Andre HeiderandEtienne Champetier a3af4c3691 prometheus-node-exporter-lua: respawn the process
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-17 18:16:48 -08:00
Andre HeiderandEtienne Champetier d8e637d064 prometheus-node-exporter-lua: add a config reload trigger
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-17 18:16:48 -08:00
Andre HeiderandEtienne Champetier 48568ad9f9 prometheus-node-exporter-lua: switch config to openwrt interface names
Drop the config knob 'listen_address' and introduce 'listen_interface'
and 'listen_ipv6' instead.

'listen_interface' takes an openwrt interface name ('loopback', 'lan',
'wan' etc, or "*" for all), from which the primary IP is used to listen
on. If 'listen_ipv6' is set to '1', the IPv6 adress will be used, IPv4
elsewise.

procd interface triggers are now combined with this, so if the 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 interface is ready.

Fixes #7670

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-17 18:16:48 -08:00
Andre Heider 556ba181cc mpd: fix compilation without AUDIO_SUPPORT
Fixes #10541

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-14 11:30:45 +01:00
Andre Heider 5aaa1e7da4 mpd: update to v0.21.16 and build with meson
One patch was dropped (probably not required anymore).

Old options have been dropped and new ones added. The order is as found
in meson_options.txt. mpd-mini and mpd-full retained their feature sets.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-05 10:28:30 +01:00
Andre Heider 0469c0715b mpc: update to v0.32 and build with meson
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-05 10:28:30 +01:00
Andre Heider 8a7d276618 libmpdclient: build with meson
Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-05 10:28:30 +01:00
Andre Heider d83cba79c1 meson: add new package
This adds a host as well as a target package.

meson.mk is provided to build packages using meson.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-01 08:14:25 +01:00
Andre Heider 5ead78be5a ninja: add new package
This adds a host as well as a target package.

ninja.mk is provided to execute ninja.

The two patches have been taken from upstream to fix compile issues.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-11-01 08:14:25 +01:00
Andre Heider 1b37a1d2a8 libid3tag: add pkg-config file
Required for meson to find this library in a sane way.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2019-10-07 20:58:56 +02:00
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