diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-22 19:30:15 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-12-22 19:30:15 +0100 |
commit | 979ec08d3d35118f106559dc59c1961cd3534ba7 (patch) | |
tree | 5eed6a91277cc0326f5a1d7273cd3f6a9d2a2a60 /terraform/hash-loki/loki-config.yaml | |
parent | 98cd7c1de49237ebc88b08c81d5a1ec0f98864c6 (diff) | |
download | infra-979ec08d3d35118f106559dc59c1961cd3534ba7.tar.gz infra-979ec08d3d35118f106559dc59c1961cd3534ba7.tar.bz2 infra-979ec08d3d35118f106559dc59c1961cd3534ba7.tar.xz infra-979ec08d3d35118f106559dc59c1961cd3534ba7.zip |
loki
Diffstat (limited to 'terraform/hash-loki/loki-config.yaml')
-rw-r--r-- | terraform/hash-loki/loki-config.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/terraform/hash-loki/loki-config.yaml b/terraform/hash-loki/loki-config.yaml new file mode 100644 index 0000000..d21d405 --- /dev/null +++ b/terraform/hash-loki/loki-config.yaml @@ -0,0 +1,52 @@ +# Downloaded with wget https://raw.githubusercontent.com/grafana/loki/v3.0.0/cmd/loki/loki-local-config.yaml -O loki-config.yaml + +auth_enabled: false + +server: + http_listen_port: 3100 + grpc_listen_port: 9096 + +common: + instance_addr: 127.0.0.1 + path_prefix: /loki + storage: + filesystem: + chunks_directory: /loki/chunks + rules_directory: /loki/rules + replication_factor: 1 + ring: + kvstore: + store: inmemory + +query_range: + results_cache: + cache: + embedded_cache: + enabled: true + max_size_mb: 100 + +schema_config: + configs: + - from: 2020-10-24 + store: tsdb + object_store: filesystem + schema: v13 + index: + prefix: index_ + period: 24h + +ruler: + alertmanager_url: http://localhost:9093 + +# By default, Loki will send anonymous, but uniquely-identifiable usage and configuration +# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/ +# +# Statistics help us better understand how Loki is used, and they show us performance +# levels for most users. This helps us prioritize features and documentation. +# For more information on what's sent, look at +# https://github.com/grafana/loki/blob/main/pkg/analytics/stats.go +# Refer to the buildReport method to see what goes into a report. +# +# If you would like to disable reporting, uncomment the following lines: +analytics: + reporting_enabled: false |