diff options
author | stuebinm <stuebinm@disroot.org> | 2024-04-13 14:54:15 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2024-04-13 10:07:35 -0700 |
commit | 6afb255d976f85f3359e4929abd6f5149c323a02 (patch) | |
tree | ced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/services/monitoring/graphite.nix | |
parent | 1dd996e59a5e67694b7a252aacba71a88d51b41e (diff) |
nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
Diffstat (limited to 'nixos/modules/services/monitoring/graphite.nix')
-rw-r--r-- | nixos/modules/services/monitoring/graphite.nix | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix index cc3d70976204d..3a8f41f320781 100644 --- a/nixos/modules/services/monitoring/graphite.nix +++ b/nixos/modules/services/monitoring/graphite.nix @@ -73,26 +73,26 @@ in { dataDir = mkOption { type = types.path; default = "/var/db/graphite"; - description = lib.mdDoc '' + description = '' Data directory for graphite. ''; }; web = { enable = mkOption { - description = lib.mdDoc "Whether to enable graphite web frontend."; + description = "Whether to enable graphite web frontend."; default = false; type = types.bool; }; listenAddress = mkOption { - description = lib.mdDoc "Graphite web frontend listen address."; + description = "Graphite web frontend listen address."; default = "127.0.0.1"; type = types.str; }; port = mkOption { - description = lib.mdDoc "Graphite web frontend port."; + description = "Graphite web frontend port."; default = 8080; type = types.port; }; @@ -100,7 +100,7 @@ in { extraConfig = mkOption { type = types.str; default = ""; - description = lib.mdDoc '' + description = '' Graphite webapp settings. See: <https://graphite.readthedocs.io/en/latest/config-local-settings.html> ''; @@ -109,7 +109,7 @@ in { carbon = { config = mkOption { - description = lib.mdDoc "Content of carbon configuration file."; + description = "Content of carbon configuration file."; default = '' [cache] # Listen on localhost by default for security reasons @@ -125,13 +125,13 @@ in { }; enableCache = mkOption { - description = lib.mdDoc "Whether to enable carbon cache, the graphite storage daemon."; + description = "Whether to enable carbon cache, the graphite storage daemon."; default = false; type = types.bool; }; storageAggregation = mkOption { - description = lib.mdDoc "Defines how to aggregate data to lower-precision retentions."; + description = "Defines how to aggregate data to lower-precision retentions."; default = null; type = types.nullOr types.str; example = '' @@ -143,7 +143,7 @@ in { }; storageSchemas = mkOption { - description = lib.mdDoc "Defines retention rates for storing metrics."; + description = "Defines retention rates for storing metrics."; default = ""; type = types.nullOr types.str; example = '' @@ -154,21 +154,21 @@ in { }; blacklist = mkOption { - description = lib.mdDoc "Any metrics received which match one of the expressions will be dropped."; + description = "Any metrics received which match one of the expressions will be dropped."; default = null; type = types.nullOr types.str; example = "^some\\.noisy\\.metric\\.prefix\\..*"; }; whitelist = mkOption { - description = lib.mdDoc "Only metrics received which match one of the expressions will be persisted."; + description = "Only metrics received which match one of the expressions will be persisted."; default = null; type = types.nullOr types.str; example = ".*"; }; rewriteRules = mkOption { - description = lib.mdDoc '' + description = '' Regular expression patterns that can be used to rewrite metric names in a search and replace fashion. ''; @@ -182,13 +182,13 @@ in { }; enableRelay = mkOption { - description = lib.mdDoc "Whether to enable carbon relay, the carbon replication and sharding service."; + description = "Whether to enable carbon relay, the carbon replication and sharding service."; default = false; type = types.bool; }; relayRules = mkOption { - description = lib.mdDoc "Relay rules are used to send certain metrics to a certain backend."; + description = "Relay rules are used to send certain metrics to a certain backend."; default = null; type = types.nullOr types.str; example = '' @@ -199,13 +199,13 @@ in { }; enableAggregator = mkOption { - description = lib.mdDoc "Whether to enable carbon aggregator, the carbon buffering service."; + description = "Whether to enable carbon aggregator, the carbon buffering service."; default = false; type = types.bool; }; aggregationRules = mkOption { - description = lib.mdDoc "Defines if and how received metrics will be aggregated."; + description = "Defines if and how received metrics will be aggregated."; default = null; type = types.nullOr types.str; example = '' @@ -217,13 +217,13 @@ in { seyren = { enable = mkOption { - description = lib.mdDoc "Whether to enable seyren service."; + description = "Whether to enable seyren service."; default = false; type = types.bool; }; port = mkOption { - description = lib.mdDoc "Seyren listening port."; + description = "Seyren listening port."; default = 8081; type = types.port; }; @@ -231,27 +231,27 @@ in { seyrenUrl = mkOption { default = "http://localhost:${toString cfg.seyren.port}/"; defaultText = literalExpression ''"http://localhost:''${toString config.${opt.seyren.port}}/"''; - description = lib.mdDoc "Host where seyren is accessible."; + description = "Host where seyren is accessible."; type = types.str; }; graphiteUrl = mkOption { default = "http://${cfg.web.listenAddress}:${toString cfg.web.port}"; defaultText = literalExpression ''"http://''${config.${opt.web.listenAddress}}:''${toString config.${opt.web.port}}"''; - description = lib.mdDoc "Host where graphite service runs."; + description = "Host where graphite service runs."; type = types.str; }; mongoUrl = mkOption { default = "mongodb://${config.services.mongodb.bind_ip}:27017/seyren"; defaultText = literalExpression ''"mongodb://''${config.services.mongodb.bind_ip}:27017/seyren"''; - description = lib.mdDoc "Mongodb connection string."; + description = "Mongodb connection string."; type = types.str; }; extraConfig = mkOption { default = {}; - description = lib.mdDoc '' + description = '' Extra seyren configuration. See <https://github.com/scobal/seyren#config> ''; |