container exporters

This commit is contained in:
ari committed 2024-11-11 15:13:16 -05:00
1 parent 382628f233
commit 7892912f4d
10 files changed
+47 -37

No files matched your search

+2 -3
View File
@@ -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;