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
This commit is contained in:
Sharlatan Hellseher 2024-12-29 00:04:04 +00:00
parent 34c10a61c3
commit 08f26bc70d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 104 additions and 19 deletions

View file

@ -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")