fix: loki configuration
This commit is contained in:
+13
-17
@@ -1,5 +1,7 @@
|
|||||||
auth_enabled: false
|
auth_enabled: false
|
||||||
|
|
||||||
|
target: all
|
||||||
|
|
||||||
server:
|
server:
|
||||||
http_listen_port: 3100
|
http_listen_port: 3100
|
||||||
grpc_listen_port: 9096
|
grpc_listen_port: 9096
|
||||||
@@ -8,13 +10,14 @@ server:
|
|||||||
|
|
||||||
common:
|
common:
|
||||||
path_prefix: /opt/loki/
|
path_prefix: /opt/loki/
|
||||||
|
replication_factor: 1
|
||||||
storage:
|
storage:
|
||||||
filesystem:
|
filesystem:
|
||||||
chunks_directory: /opt/loki/chunks
|
chunks_directory: /opt/loki/chunks
|
||||||
rules_directory: /opt/loki/rules
|
rules_directory: /opt/loki/rules
|
||||||
replication_factor: 1
|
|
||||||
ring:
|
ring:
|
||||||
instance_addr: 127.0.0.1
|
heartbeat_period: 0
|
||||||
kvstore:
|
kvstore:
|
||||||
store: inmemory
|
store: inmemory
|
||||||
|
|
||||||
@@ -28,6 +31,7 @@ query_range:
|
|||||||
limits_config:
|
limits_config:
|
||||||
metric_aggregation_enabled: true
|
metric_aggregation_enabled: true
|
||||||
allow_structured_metadata: true
|
allow_structured_metadata: true
|
||||||
|
retention_period: 744h
|
||||||
|
|
||||||
schema_config:
|
schema_config:
|
||||||
configs:
|
configs:
|
||||||
@@ -39,6 +43,13 @@ schema_config:
|
|||||||
prefix: index_
|
prefix: index_
|
||||||
period: 24h
|
period: 24h
|
||||||
|
|
||||||
|
compactor:
|
||||||
|
working_directory: /opt/loki/retention
|
||||||
|
retention_enabled: true
|
||||||
|
retention_delete_delay: 2h
|
||||||
|
retention_delete_worker_count: 150
|
||||||
|
delete_request_store: filesystem
|
||||||
|
|
||||||
pattern_ingester:
|
pattern_ingester:
|
||||||
enabled: true
|
enabled: true
|
||||||
metric_aggregation:
|
metric_aggregation:
|
||||||
@@ -47,18 +58,3 @@ pattern_ingester:
|
|||||||
storage_config:
|
storage_config:
|
||||||
filesystem:
|
filesystem:
|
||||||
directory: /opt/loki/chunks
|
directory: /opt/loki/chunks
|
||||||
|
|
||||||
ruler:
|
|
||||||
storage:
|
|
||||||
type: local
|
|
||||||
local:
|
|
||||||
directory: /tmp/loki/rules
|
|
||||||
rule_path: /tmp/loki/rules_temp
|
|
||||||
alertmanager_url: http://localhost:9093
|
|
||||||
ring:
|
|
||||||
kvstore:
|
|
||||||
store: inmemory
|
|
||||||
enable_api: true
|
|
||||||
|
|
||||||
frontend:
|
|
||||||
encoding: protobuf
|
|
||||||
|
|||||||
Reference in New Issue
Block a user