diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-04-23 13:37:03 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-04-23 14:29:06 -0700 |
| commit | 251379d6084849f26866226b4bd0391216a8ccec (patch) | |
| tree | 448c3517fe994c0dca98f4e9c958ef503bfd7eff /modules/services/prometheus | |
| parent | modules/grafana: add loki as a source to grafana (diff) | |
| download | infra-251379d6084849f26866226b4bd0391216a8ccec.tar.gz | |
modules/monitoring: consolidate all monitoring services together
This will help to organize and structure monitoring modules a bit
better.
Diffstat (limited to '')
| -rw-r--r-- | modules/services/monitoring/prometheus.nix (renamed from modules/services/prometheus/default.nix) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/services/prometheus/default.nix b/modules/services/monitoring/prometheus.nix index cf9af06..59cccb6 100644 --- a/modules/services/prometheus/default.nix +++ b/modules/services/monitoring/prometheus.nix @@ -1,7 +1,7 @@ { config, pkgs, lib, ... }: let - cfg = config.my.services.prometheus; + cfg = config.my.services.monitoring.prometheus; blackboxConfig = { modules = { https_2xx = { @@ -41,7 +41,7 @@ let ]; in { - options.my.services.prometheus = with lib; { + options.my.services.monitoring.prometheus = with lib; { enable = mkEnableOption "Prometheus monitoring solution"; }; |
