summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-05 19:39:00 +0200
committerpennae <github@quasiparticle.net>2022-08-06 20:39:12 +0200
commit087472b1e5230ffc8ba642b1e4f9218adf4634a2 (patch)
treeba5c8e457072dce9aa13a92f26bb7e6a47d45776 /nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix
parent423545fe4865d126e86721ba30da116e29c65004 (diff)
downloadnixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar
nixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.gz
nixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.bz2
nixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.lz
nixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.xz
nixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.tar.zst
nixpkgs-087472b1e5230ffc8ba642b1e4f9218adf4634a2.zip
nixos/*: automatically convert option docs
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix b/nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix
index 0181c341a7e..459f5842f54 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/smokeping.nix
@@ -17,27 +17,27 @@ in
     telemetryPath = mkOption {
       type = types.str;
       default = "/metrics";
-      description = ''
+      description = lib.mdDoc ''
         Path under which to expose metrics.
       '';
     };
     pingInterval = mkOption {
       type = goDuration;
       default = "1s";
-      description = ''
+      description = lib.mdDoc ''
         Interval between pings.
       '';
     };
     buckets = mkOption {
       type = types.commas;
       default = "5e-05,0.0001,0.0002,0.0004,0.0008,0.0016,0.0032,0.0064,0.0128,0.0256,0.0512,0.1024,0.2048,0.4096,0.8192,1.6384,3.2768,6.5536,13.1072,26.2144";
-      description = ''
+      description = lib.mdDoc ''
         List of buckets to use for the response duration histogram.
       '';
     };
     hosts = mkOption {
       type = with types; listOf str;
-      description = ''
+      description = lib.mdDoc ''
         List of endpoints to probe.
       '';
     };