nixos/prometheus: add external_labels option

wip/yesman
Oliver Charles 7 years ago
parent f0334c0336
commit acb7f43db9
  1. 10
      nixos/modules/services/monitoring/prometheus/default.nix

@ -66,6 +66,16 @@ let
How frequently to evaluate rules by default.
'';
};
external_labels = mkOption {
type = types.attrsOf types.str;
description = ''
The labels to add to any time series or alerts when
communicating with external systems (federation, remote
storage, Alertmanager).
'';
default = {};
};
};
};

Loading…
Cancel
Save