container exporters
This commit is contained in:
1 parent
382628f233
commit
7892912f4d
10 files changed
+47
-37
No files matched your search
@@ -1,14 +1,13 @@
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let cfg = config.skyg.server.exporters;
|
||||
in {
|
||||
options = {
|
||||
skyg.server.exporters = {
|
||||
enable = mkEnableOption
|
||||
enable = lib.mkEnableOption
|
||||
"Enable Special prom exporters for servers";
|
||||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.prometheus.exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
|
||||
Reference in new issue
Block a user