mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
prometheus-node-exporter-lua: expose node_os_info
the original node_exporter exposes a node_os_info metric with a set of data about the system [1] which is then used by several dashboards. openwrt.lua already exposes OS info, but using the node_openwrt_info metric requires changes to existing dashboards, and would require more complex lookups when there are non-OpenWrt hosts in the overview too. as we've already called ubus and fetched the data, we can expose it in two formats easily. [1] https://github.com/prometheus/node_exporter/blob/d6d0e710bb7daf07a2743fde060f0d5f32c565f3/collector/os_release.go#L190-L192 Signed-off-by: Evgeni Golov <evgeni@golov.de>
This commit is contained in:
committed by
Etienne Champetier
parent
c8760b4ecf
commit
7d9cc2e95a
@@ -4,7 +4,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=prometheus-node-exporter-lua
|
||||
PKG_VERSION:=2026.05.08
|
||||
PKG_VERSION:=2026.05.09
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
||||
|
||||
Reference in New Issue
Block a user