fixup! Loki: add prometheus
This commit is contained in:
parent
ce2d3064a9
commit
ee26dda42a
1 changed files with 21 additions and 21 deletions
|
|
@ -470,8 +470,8 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# servies.prometheus = {
|
||||
# enable = true;
|
||||
servies.prometheus = {
|
||||
enable = true;
|
||||
# exporters = {
|
||||
# node = { enable = true; enabledCollectors = [ "systemd" ]; };
|
||||
# process = {
|
||||
|
|
@ -489,8 +489,8 @@ in
|
|||
# { job_name = "process"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.process.port}" ]; }]; }
|
||||
# { job_name = "systemd"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.systemd.port}" ]; }]; }
|
||||
# ];
|
||||
# retentionTime = "15d";
|
||||
# };
|
||||
retentionTime = "15d";
|
||||
};
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
Defaults pwfeedback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue