guix-commits
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]