[25.12] prometheus-node-exporter-lua: sync with master#29927
Conversation
No version to test here. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit 964750c)
No version to test here. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit 8ebab94)
No version to test here. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit cc886eb)
The treewide change done in master doesn't apply cleanly. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Add a Prometheus collector for ModemManager that exports cellular modem signal metrics via mmcli. Supports multiple modems (labeled by D-Bus object path), exports overall signal quality and detailed per-technology signal parameters (LTE, NR5G, UMTS, GSM, CDMA, ...). Requires signal refresh to be enabled on the modem: mmcli -m <id> --signal-setup=<interval_seconds> Tested on: ath79/generic, GL.inet GL-X300B, OpenWrt 23.05.5 Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Jean-Laurent Girod <jeanlaurent.girod@icloud.com> (cherry picked from commit 1b18489)
Add a collector for the various fileystem metrics which matches the node-exporter behaviour. This collector supports the following metrics: * node_filesystem_size_bytes * node_filesystem_free_bytes * node_filesystem_avail_bytes * node_filesystem_files * node_filesystem_files_free * node_filesystem_readonly Signed-off-by: Will May <will.j.may@gmail.com> (cherry picked from commit eba5a9c)
Handle cases where 'mac' is missing (nil), a single string, or an array (table). Additionally, add support for the 'duid' field. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit c8760b4)
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> (cherry picked from commit 7d9cc2e)
…g wifi device metrics interfaces Signed-off-by: Jun Ouyang <ouyangjun1999@gmail.com> (cherry picked from commit f39d51b)
- New unbound.lua exporter module for unbound stats - Updated Makefile Signed-off-by: Bruno Marinier <bmgm41@gmail.com> (cherry picked from commit 4238239)
Formality Check: FailedWe completed the verification flow. Please review the formatting overview logs below. 🛑 CRITICAL ERRORS
Something broken? Consider reporting an issue. |
|
Wow, @champtar, it's been a while since I've seen you active, good job. Yeah, I know... lots of issues, having to add a skip CI version check for packages where the version is missing. These are just teething problems, and I'm glad you're looking into it. :-) Regarding the bot, yeah, the issue with PKG_VERSION and it not showing up in the subject line is a bit complicated, because prometheus-node-exporter-lua in particular doesn't download an upstream tarball. I'll think about how to solve this better. |
|
[allow cherry-pick] |
|
Yeah, the CI is focused on packages with external sources, so some of the checks are not optimal for packages with in tree sources (yet). |
test.sh is pretty basic and will not fail if one of the plugin fails, which is fine as most plugins will fail in CI anyway. Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com> (cherry picked from commit 4741715)
📦 Package Details
Maintainer: me
Description:
cherry-pick all commits from master
🧪 Run Testing Details
none
✅ Formalities