Formatting
This commit is contained in:
parent
ae65065d5c
commit
3ca8c5e218
9 changed files with 156 additions and 108 deletions
|
@ -1,7 +1,9 @@
|
|||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let cfg = config.voidconf.prometheus;
|
||||
in {
|
||||
let
|
||||
cfg = config.voidconf.prometheus;
|
||||
in
|
||||
{
|
||||
options.voidconf.prometheus = {
|
||||
enable = mkEnableOption "Enable prometheus node";
|
||||
};
|
||||
|
@ -10,7 +12,10 @@ in {
|
|||
exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
enabledCollectors = [ "systemd" "cpu" ];
|
||||
enabledCollectors = [
|
||||
"systemd"
|
||||
"cpu"
|
||||
];
|
||||
port = 9002;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue