Skip to content

Commit

Permalink
loki: simplify config
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Jul 8, 2024
1 parent 35aa143 commit 53881b8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions modules/loki.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,17 @@ let
# https://grafana.com/docs/loki/latest/configuration/examples/#complete-local-config
configuration = {
auth_enabled = false;
common.path_prefix = "/var/lib/loki";

server.http_listen_port = httpPort;
server.log_level = "warn";

ingester = {
lifecycler = {
address = "127.0.0.1";
ring = {
kvstore.store = "inmemory";
replication_factor = 1;
};
final_sleep = "0s";
common = {
ring = {
instance_addr = "127.0.0.1";
kvstore.store = "inmemory";
};
chunk_idle_period = "5m";
chunk_retain_period = "30s";
replication_factor = 1;
path_prefix = "/var/lib/loki";
};

schema_config = {
Expand Down

0 comments on commit 53881b8

Please sign in to comment.