diff --git a/nixos/modules/monitoring/server/prometheus.nix b/nixos/modules/monitoring/server/prometheus.nix index da61228951df02b6bef0cdc3e3e108da73122f15..3bb00a5b95855859e455b5df8fb065b3d70bc855 100644 --- a/nixos/modules/monitoring/server/prometheus.nix +++ b/nixos/modules/monitoring/server/prometheus.nix @@ -18,22 +18,22 @@ in { options.services.private-storage.monitoring.prometheus = { nodeExporterTargets = lib.mkOption { type = with lib.types; listOf str; - example = lib.literalExample "[ node1 node2 ]"; + example = [ "node1" "node2" ]; description = "List of nodes (hostnames or IPs) to scrape."; }; nginxExporterTargets = lib.mkOption { type = with lib.types; listOf str; - example = lib.literalExample "[ node1 node2 ]"; + example = [ "node1" "node2" ]; description = "List of nodes (hostnames or IPs) to scrape."; }; paymentExporterTargets = lib.mkOption { type = with lib.types; listOf str; - example = lib.literalExample "[ node1 node2 ]"; + example = [ "node1" "node2" ]; description = "List of nodes (hostnames or IPs) to scrape."; }; blackboxExporterHttpsTargets = lib.mkOption { type = with lib.types; listOf str; - example = lib.literalExample "[ \"https://node1.com/\" \"https://node2.org/\" ]"; + example = [ "https://node1.com/" "https://node2.org/" ]; description = "List of https URLs to scrape."; }; };