feat: cleaning up some metrics & adding labels

This commit is contained in:
Xavier Morel
2025-11-15 22:37:50 +01:00
parent eff961ff24
commit 6578f1a626
8 changed files with 81 additions and 20 deletions

View File

@@ -142,9 +142,9 @@ in
enable = mkEnableOption "Whether to enable default logs collection";
metricsEnable = mkEnableOption "Whether to enable default metrics collection";
prometheusPorts = mkOption {
type = listOf int;
description = "Ports of Prometheus Exporters";
default = [ ];
type = attrsOf int;
description = "Service => ports of Prometheus Exporters";
default = { };
};
alloyConfig = mkOption {
type = attrsOf path;