aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-11-28 10:17:14 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-07 09:07:13 +0000
commit502cb3f8a105bc1c79292bcad12c71f53609d4c6 (patch)
tree662a8be4501ebf5c0f87a31d77ce06ba1ddda90b /gnu
parent928bedcab75c19af3a51b24198a74f1647268151 (diff)
downloadguix-502cb3f8a105bc1c79292bcad12c71f53609d4c6.tar
guix-502cb3f8a105bc1c79292bcad12c71f53609d4c6.tar.gz
services: prometheus-node-exporter: Neaten up.
Add relevant exports, as well as a comment to better indicate where the relevant code starts. * gnu/services/monitoring.scm (prometheus-node-exporter-service-type): Capitalise Prometheus.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/monitoring.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index ac68bce8ac..89deac9d36 100644
--- a/gnu/services/monitoring.scm
+++ b/gnu/services/monitoring.scm
@@ -36,8 +36,12 @@
#:use-module (srfi srfi-26)
#:use-module (srfi srfi-35)
#:export (darkstat-configuration
- prometheus-node-exporter-configuration
darkstat-service-type
+
+ prometheus-node-exporter-configuration
+ prometheus-node-exporter-configuration?
+ prometheus-node-exporter-configuration-package
+ prometheus-node-exporter-web-listen-address
prometheus-node-exporter-service-type
zabbix-server-configuration
@@ -110,6 +114,11 @@ HTTP.")
(service-extension shepherd-root-service-type
(compose list darkstat-shepherd-service))))))
+
+;;;
+;;; Prometheus node exporter
+;;;
+
(define-record-type* <prometheus-node-exporter-configuration>
prometheus-node-exporter-configuration
make-prometheus-node-exporter-configuration
@@ -137,7 +146,7 @@ HTTP.")
(name 'prometheus-node-exporter)
(description
"Run @command{node_exporter} to serve hardware and OS metrics to
-prometheus.")
+Prometheus.")
(extensions
(list (service-extension
shepherd-root-service-type