mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
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:
parent
928bedcab7
commit
502cb3f8a1
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue