summaryrefslogtreecommitdiff
path: root/meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-02-23 08:25:47 -0600
committerunitexe <unitexe70@gmail.com>2026-03-02 22:51:24 -0600
commit0c027f613039db54bc87fb6de63c0ffe253cabf2 (patch)
treed636b1e73bf82f0f25528c0d1c9887bd31b5506b /meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb
parent69509e438d1417d25d646ff1a3ba88e27e4ed282 (diff)
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`.
Diffstat (limited to 'meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb')
-rw-r--r--meta-unit-virtualization/recipes-support/prometheus-node-exporter-dashboard/prometheus-node-exporter-dashboard_git.bb15
1 files changed, 15 insertions, 0 deletions
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"