37 lines
875 B
YAML
37 lines
875 B
YAML
auth_enabled: false
|
|
server:
|
|
http_listen_port: 3100
|
|
http_tls_config:
|
|
cert_file: /run/otel/server.crt
|
|
key_file: /run/otel/server.key
|
|
client_auth_type: RequireAndVerifyClientCert
|
|
client_ca_file: /run/otel/loki-client-ca.crt
|
|
common:
|
|
path_prefix: /loki
|
|
replication_factor: 1
|
|
ring:
|
|
instance_addr: 127.0.0.1
|
|
kvstore:
|
|
store: inmemory
|
|
storage:
|
|
filesystem:
|
|
chunks_directory: /loki/chunks
|
|
rules_directory: /loki/rules
|
|
schema_config:
|
|
configs:
|
|
- from: 2024-01-01
|
|
store: tsdb
|
|
object_store: filesystem
|
|
schema: v13
|
|
index:
|
|
prefix: index_
|
|
period: 24h
|
|
limits_config:
|
|
allow_structured_metadata: true
|
|
otlp_config:
|
|
resource_attributes:
|
|
ignore_defaults: true
|
|
attributes_config:
|
|
- action: index_label
|
|
attributes: [service.name, deployment.environment.name]
|