summaryrefslogtreecommitdiff
path: root/gnu/packages/prometheus.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-29 00:04:04 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:35 +0000
commit08f26bc70d9f716286f13076e7d02dbf28fa11c8 (patch)
tree767f162f85955f20315e7b9d1925c48ea352f094 /gnu/packages/prometheus.scm
parent34c10a61c348d91a6fa3455f918302a889f4c82e (diff)
gnu: go-github-com-prometheus-node-exporter: 1.8.2-0.b8aac7c.
* gnu/packages/monitoring.scm: Add golang-build, golang-web, golang-xyz, and prometheus modules. (go-github-com-prometheus-node-exporter): 1.8.2-0.b8aac7c. [arguments] <install-source?>: Skip source installation as it's a final command. <build-flags>: Provide ldflags. <embed-files>: Copy 2 files required as not symlinks. <phases>: Add 'pre-check and 'post-check - unpacking and removing provided test data. [propagated-inputs]: Add go-github-com-alecthomas-kingpin-v2, go-github-com-beevik-ntp, go-github-com-coreos-go-systemd-v22, go-github-com-dennwc-btrfs, go-github-com-ema-qdisc, go-github-com-go-kit-log, go-github-com-godbus-dbus-v5, go-github-com-hashicorp-go-envparse, go-github-com-hodgesds-perf-utils, go-github-com-josharian-native, go-github-com-jsimonetti-rtnetlink, go-github-com-mattn-go-xmlrpc, go-github-com-mdlayher-ethtool, go-github-com-mdlayher-netlink, go-github-com-mdlayher-wifi, go-github-com-jsimonetti-rtnetlink-v2, go-github-com-opencontainers-selinux, go-github-com-prometheus-client-golang, go-github-com-prometheus-client-model, go-github-com-prometheus-common, go-github-com-prometheus-community-go-runit, go-github-com-prometheus-exporter-toolkit, go-github-com-prometheus-procfs-next, go-github-com-safchain-ethtool, go-golang-org-x-exp, go-golang-org-x-sys, and go-howett-net-plist. * gnu/packages/prometheus.scm (go-github-com-prometheus-procfs-next): New variable. Change-Id: I06f9d5d99266ca1abb3e8203ec66d9415842306a
Diffstat (limited to 'gnu/packages/prometheus.scm')
-rw-r--r--gnu/packages/prometheus.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index 1adb42bb9a1..e582673a0d7 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -508,6 +508,26 @@ Protocol,ICMP} echo (ping) functionality.")
kernel, and process metrics from the @file{/proc} pseudo file system.")
(license license:asl2.0)))
+;; To make it compatible with node_exporter, see
+;; <https://github.com/prometheus/node_exporter/issues/3143>.
+(define-public go-github-com-prometheus-procfs-next
+ (let ((commit "24ab3d8d880d820115eef19f7b0c2c38fffd6a25")
+ (revision "0"))
+ (hidden-package
+ (package
+ (inherit go-github-com-prometheus-procfs)
+ (name "go-github-com-prometheus-procfs")
+ (version (git-version "0.15.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/prometheus/procfs")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0fv3f83q5wigbpl6mdpk4k7bj8jabc81rap0ym95l7rpw93cdlim"))))))))
+
(define-public go-github-com-prometheus-statsd-exporter
(package
(name "go-github-com-prometheus-statsd-exporter")