summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus/exporters.xml
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-09-01 16:15:29 -0400
committerGraham Christensen <graham@grahamc.com>2018-09-01 16:20:49 -0400
commit34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc (patch)
tree56fb1a8e27bb277ea9f1bfae235a859ba42edab6 /nixos/modules/services/monitoring/prometheus/exporters.xml
parent18fd616351a25622b1dc43c59d0c52ace5bfe3ef (diff)
downloadnixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.tar
nixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.tar.gz
nixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.tar.bz2
nixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.tar.lz
nixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.tar.xz
nixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.tar.zst
nixpkgs-34d2ec7c09ec01f1205d1a949a33bd6fdf1417fc.zip
nixos docs: give IDs to things
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters.xml')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters.xml b/nixos/modules/services/monitoring/prometheus/exporters.xml
index 4f0bcb29810..be86abb74b4 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters.xml
+++ b/nixos/modules/services/monitoring/prometheus/exporters.xml
@@ -8,7 +8,7 @@
 
 <para>Prometheus exporters provide metrics for the <link xlink:href="https://prometheus.io">prometheus monitoring system</link>.</para>
 
-<section><title>Configuration</title>
+<section xml:id="module-services-prometheus-exporters-configuration"><title>Configuration</title>
   <para>One of the most common exporters is the <link xlink:href="https://github.com/prometheus/node_exporter">node exporter</link>, it provides hardware and OS metrics from the host it's running on. The exporter could be configured as follows:
 <programlisting>
   services.promtheus.exporters.node = {
@@ -33,7 +33,7 @@ For more information about configuration see <literal>man configuration.nix</lit
 search through the <link xlink:href="https://nixos.org/nixos/options.html#prometheus.exporters">available options</link>.
 </para>
 </section>
-<section><title>Adding a new exporter</title>
+<section xml:id="module-services-prometheus-exporters-new-exporter"><title>Adding a new exporter</title>
   <para>To add a new exporter, it has to be packaged first (see <literal>nixpkgs/pkgs/servers/monitoring/prometheus/</literal> for examples), then a module can be added. The postfix exporter is used in this example:</para>
 <itemizedlist>
   <listitem>