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.
This commit is contained in:
Christopher Baines 2020-11-28 10:17:14 +00:00
parent 928bedcab7
commit 502cb3f8a1
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -36,8 +36,12 @@ (define-module (gnu services monitoring)
#: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 @@ (define darkstat-service-type
(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 @@ (define prometheus-node-exporter-service-type
(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