Merge pull request #153314 from Mic92/prometheus

prometheus: add authorization section

Changed files
+7
nixos
modules
services
monitoring
prometheus
+7
nixos/modules/services/monitoring/prometheus/default.nix
···
promTypes.scrape_config = types.submodule {
options = {
+
authorization = mkOption {
+
type = types.attrs;
+
default = {};
+
description = ''
+
Sets the `Authorization` header on every scrape request with the configured credentials.
+
'';
+
};
job_name = mkOption {
type = types.str;
description = ''