Re-enabled loki

This commit is contained in:
2025-07-02 12:40:35 +03:00
parent 22a70dae2e
commit 3641f7c786
2 changed files with 5 additions and 4 deletions

View File

@@ -66,7 +66,8 @@
# Enable metrics/logging
grafana.enable = true;
loki.enable = false;
loki.enable = true;
services.alloy.enable = false;
services.alloy.configPath = "/etc/alloy/config.alloy";

View File

@@ -13,7 +13,7 @@
services.loki.configuration = {
auth_enabled = false;
limits_config = { volume_enabled = true; };
# limits_config = { volume_enabled = true; };
server = {
http_listen_port = 3100;
@@ -29,7 +29,7 @@
instance_interface_names = [ "ens3" "lo" ];
# added ens3 whichi s the interface in netcup
replication_factor = 1;
path_prefix = "/var/lib/loki";
path_prefix = "/tmp/loki";
};
schema_config = {
@@ -49,7 +49,7 @@
storage_config = {
filesystem = {
directory = "/var/lib/loki/chunks";
directory = "/tmp/loki/chunks";
};
};