nixos/prometheus: add external_labels option
This commit is contained in:
parent
f0334c0336
commit
acb7f43db9
@ -66,6 +66,16 @@ let
|
|||||||
How frequently to evaluate rules by default.
|
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…
Reference in New Issue
Block a user