prometheus-node-exporter-lua: handle fancy release 6306/head
authorPaul Spooren <mail@aparcar.org>
Sun, 17 Jun 2018 08:01:57 +0000 (17:01 +0900)
committerPaul Spooren <mail@aparcar.org>
Sun, 17 Jun 2018 08:07:36 +0000 (17:07 +0900)
commitfc44f87dc52b2a35a2a234c26ec88a7fa6beb7f2
tree9ee2a6af4a5402b3c9475594cd975303163b40a7
parent870ebb1b8db9ac33ad0c3bf9c495b78f9617adb1
prometheus-node-exporter-lua: handle fancy release

Some releases may have non letters in it's name currently resulting in
an empty ("") output which is then discarded, resulting in *missing*
labels in the metric.

Now it uses `.-` to catch as little as possible, but anything.

Signed-off-by: Paul Spooren <mail@aparcar.org>
utils/prometheus-node-exporter-lua/Makefile
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/openwrt.lua