Skip to content
Snippets Groups Projects
Commit 8b849725 authored by Florian Sesser's avatar Florian Sesser
Browse files

Monitoring/BlackBox: don't use literalExample where it's not needed

Thanks for the suggestion @jcalderone!
parent a778c6c4
No related branches found
No related tags found
2 merge requests!228merge develop into production,!201Monitor TLS cert expiry
Pipeline #1462 passed
...@@ -18,22 +18,22 @@ in { ...@@ -18,22 +18,22 @@ in {
options.services.private-storage.monitoring.prometheus = { options.services.private-storage.monitoring.prometheus = {
nodeExporterTargets = lib.mkOption { nodeExporterTargets = lib.mkOption {
type = with lib.types; listOf str; type = with lib.types; listOf str;
example = lib.literalExample "[ node1 node2 ]"; example = [ "node1" "node2" ];
description = "List of nodes (hostnames or IPs) to scrape."; description = "List of nodes (hostnames or IPs) to scrape.";
}; };
nginxExporterTargets = lib.mkOption { nginxExporterTargets = lib.mkOption {
type = with lib.types; listOf str; type = with lib.types; listOf str;
example = lib.literalExample "[ node1 node2 ]"; example = [ "node1" "node2" ];
description = "List of nodes (hostnames or IPs) to scrape."; description = "List of nodes (hostnames or IPs) to scrape.";
}; };
paymentExporterTargets = lib.mkOption { paymentExporterTargets = lib.mkOption {
type = with lib.types; listOf str; type = with lib.types; listOf str;
example = lib.literalExample "[ node1 node2 ]"; example = [ "node1" "node2" ];
description = "List of nodes (hostnames or IPs) to scrape."; description = "List of nodes (hostnames or IPs) to scrape.";
}; };
blackboxExporterHttpsTargets = lib.mkOption { blackboxExporterHttpsTargets = lib.mkOption {
type = with lib.types; listOf str; 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."; description = "List of https URLs to scrape.";
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment