From 560400773cdc9a312b1680364563979f2166064d Mon Sep 17 00:00:00 2001 From: Oliver Charles Date: Fri, 17 Nov 2017 10:58:11 +0000 Subject: [PATCH] nixos/prometheus: Correct documentation for external_labels As description is literal XML, I need to escape < and > by hand. --- nixos/modules/services/monitoring/prometheus/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index 85f39c2a43b..80122e69d16 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -126,7 +126,7 @@ let If honor_labels is set to "false", label conflicts are resolved by renaming conflicting labels in the scraped data - to "exported_" (for example + to "exported_<original-label>" (for example "exported_instance", "exported_job") and then attaching server-side labels. This is useful for use cases such as federation, where all labels specified in the target should