[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/06: services: prometheus-node-exporter: Neaten up.
From: |
guix-commits |
Subject: |
01/06: services: prometheus-node-exporter: Neaten up. |
Date: |
Mon, 7 Dec 2020 04:14:34 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 502cb3f8a105bc1c79292bcad12c71f53609d4c6
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Sat Nov 28 10:17:14 2020 +0000
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.
---
gnu/services/monitoring.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/services/monitoring.scm b/gnu/services/monitoring.scm
index ac68bce..89deac9 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
- branch master updated (928bedc -> 92f7c11), guix-commits, 2020/12/07
- 03/06: services: prometheus-node-exporter: Use a log file., guix-commits, 2020/12/07
- 05/06: prometheus-node-exporter: Enable the textfile collector., guix-commits, 2020/12/07
- 01/06: services: prometheus-node-exporter: Neaten up.,
guix-commits <=
- 04/06: doc: Remove redundant node exporter configuration from the example., guix-commits, 2020/12/07
- 02/06: prometheus-node-exporter: Add user and group., guix-commits, 2020/12/07
- 06/06: prometheus-node-exporter: Support extra options., guix-commits, 2020/12/07