From 0c027f613039db54bc87fb6de63c0ffe253cabf2 Mon Sep 17 00:00:00 2001 From: unitexe Date: Mon, 23 Feb 2026 08:25:47 -0600 Subject: Introduce meta-unit-virtualization Primary motivation for this is removing observability containers from beaglebone black because of RAM limitations. Images can now include the observability containers by adding `observability` to `IMAGE_FEATURES`. --- .../prometheus-node-exporter-dashboard_git.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb (limited to 'meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb') diff --git a/meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb b/meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb new file mode 100644 index 0000000..82944b6 --- /dev/null +++ b/meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb @@ -0,0 +1,15 @@ +SUMMARY = "Node exporter grafana dashboard" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dab0ea9d34dd9846f799c0fc52e5c58a" + +SRC_URI = "git://github.com/rfmoz/grafana-dashboards;branch=master;protocol=https" + +SRCREV = "0ea0f0652e41f73bd41b82769baa32912184152b" + +ROOTLESS_USER_NAME ?= "svc" + +do_install() { + install -D -m 0644 ${S}/prometheus/node-exporter-full.json ${D}/home/${ROOTLESS_USER_NAME}/.config/containers/grafana/provisioning/dashboards/prometheus-node-exporter.json +} + +FILES:${PN} = "/home/${ROOTLESS_USER_NAME}/.config/containers/grafana/provisioning/dashboards/prometheus-node-exporter.json" -- cgit v1.2.3