From 92f7c11af26580a7e6543efa94531652f187923a Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 28 Nov 2020 11:03:19 +0000 Subject: prometheus-node-exporter: Support extra options. There are plenty of options supported that the Guix configuration record doesn't help you with, so add this field to allow users to do their own thing. * gnu/services/monitoring.scm (): Add extra-options field. (prometheus-node-exporter-shepherd-service): Handle the extra options. * doc/guix.texi (Prometheus Node Exporter Service): Document this. --- doc/guix.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/guix.texi') diff --git a/doc/guix.texi b/doc/guix.texi index 13e0dcf6b7..a4386adf42 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -22043,6 +22043,9 @@ This directory can be used to export metrics specific to this machine. Files containing metrics in the text format, with the filename ending in @code{.prom} should be placed in this directory. +@item @code{extra-options} (default: @code{'()}) +Extra options to pass to the Prometheus node exporter. + @end table @end deftp -- cgit v1.2.3