aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-11-28 11:03:19 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-07 09:08:33 +0000
commit92f7c11af26580a7e6543efa94531652f187923a (patch)
tree0014d58347d0e5808d5c0201c8537c97b571175a /doc
parentfd14385581e4f3f8285442a0e1cc17d320d35fa9 (diff)
downloadguix-92f7c11af26580a7e6543efa94531652f187923a.tar.gz
guix-92f7c11af26580a7e6543efa94531652f187923a.zip
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 (<prometheus-node-exporter-configuration>): Add extra-options field. (prometheus-node-exporter-shepherd-service): Handle the extra options. * doc/guix.texi (Prometheus Node Exporter Service): Document this.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi3
1 files changed, 3 insertions, 0 deletions
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