diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-04-13 19:10:53 +0200 |
commit | f3a1652b098bbe33e5ab8a827ff3778b3c2120b8 (patch) | |
tree | 243f5d1e82706ad3d727a26692bd1d53d9373776 /nixos/modules/services/monitoring/kapacitor.nix | |
parent | 561b7b74f8e5783f29bb589482b3ed60ce2c1318 (diff) | |
parent | c0c2f2903f310dd5efb86f02b4b5f824183f5173 (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/services/monitoring/kapacitor.nix')
-rw-r--r-- | nixos/modules/services/monitoring/kapacitor.nix | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/nixos/modules/services/monitoring/kapacitor.nix b/nixos/modules/services/monitoring/kapacitor.nix index c90878656899b..01919e73f7347 100644 --- a/nixos/modules/services/monitoring/kapacitor.nix +++ b/nixos/modules/services/monitoring/kapacitor.nix @@ -57,29 +57,29 @@ let in { options.services.kapacitor = { - enable = mkEnableOption (lib.mdDoc "kapacitor"); + enable = mkEnableOption "kapacitor"; dataDir = mkOption { type = types.path; default = "/var/lib/kapacitor"; - description = lib.mdDoc "Location where Kapacitor stores its state"; + description = "Location where Kapacitor stores its state"; }; port = mkOption { type = types.port; default = 9092; - description = lib.mdDoc "Port of Kapacitor"; + description = "Port of Kapacitor"; }; bind = mkOption { type = types.str; default = ""; example = "0.0.0.0"; - description = lib.mdDoc "Address to bind to. The default is to bind to all addresses"; + description = "Address to bind to. The default is to bind to all addresses"; }; extraConfig = mkOption { - description = lib.mdDoc "These lines go into kapacitord.conf verbatim."; + description = "These lines go into kapacitord.conf verbatim."; default = ""; type = types.lines; }; @@ -87,70 +87,70 @@ in user = mkOption { type = types.str; default = "kapacitor"; - description = lib.mdDoc "User account under which Kapacitor runs"; + description = "User account under which Kapacitor runs"; }; group = mkOption { type = types.str; default = "kapacitor"; - description = lib.mdDoc "Group under which Kapacitor runs"; + description = "Group under which Kapacitor runs"; }; taskSnapshotInterval = mkOption { type = types.str; - description = lib.mdDoc "Specifies how often to snapshot the task state (in InfluxDB time units)"; + description = "Specifies how often to snapshot the task state (in InfluxDB time units)"; default = "1m0s"; }; loadDirectory = mkOption { type = types.nullOr types.path; - description = lib.mdDoc "Directory where to load services from, such as tasks, templates and handlers (or null to disable service loading on startup)"; + description = "Directory where to load services from, such as tasks, templates and handlers (or null to disable service loading on startup)"; default = null; }; defaultDatabase = { - enable = mkEnableOption (lib.mdDoc "kapacitor.defaultDatabase"); + enable = mkEnableOption "kapacitor.defaultDatabase"; url = mkOption { - description = lib.mdDoc "The URL to an InfluxDB server that serves as the default database"; + description = "The URL to an InfluxDB server that serves as the default database"; example = "http://localhost:8086"; type = types.str; }; username = mkOption { - description = lib.mdDoc "The username to connect to the remote InfluxDB server"; + description = "The username to connect to the remote InfluxDB server"; type = types.str; }; password = mkOption { - description = lib.mdDoc "The password to connect to the remote InfluxDB server"; + description = "The password to connect to the remote InfluxDB server"; type = types.str; }; }; alerta = { - enable = mkEnableOption (lib.mdDoc "kapacitor alerta integration"); + enable = mkEnableOption "kapacitor alerta integration"; url = mkOption { - description = lib.mdDoc "The URL to the Alerta REST API"; + description = "The URL to the Alerta REST API"; default = "http://localhost:5000"; type = types.str; }; token = mkOption { - description = lib.mdDoc "Default Alerta authentication token"; + description = "Default Alerta authentication token"; type = types.str; default = ""; }; environment = mkOption { - description = lib.mdDoc "Default Alerta environment"; + description = "Default Alerta environment"; type = types.str; default = "Production"; }; origin = mkOption { - description = lib.mdDoc "Default origin of alert"; + description = "Default origin of alert"; type = types.str; default = "kapacitor"; }; |