Files
mtusi2026lab7/infra/otel/loki.yaml
T

45 lines
966 B
YAML

auth_enabled: false
server:
http_listen_port: 3100
log_level: warn
http_listen_address: 127.0.0.1
grpc_listen_address: 127.0.0.1
common:
path_prefix: /loki
replication_factor: 1
ring:
kvstore:
store: inmemory
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
schema_config:
configs:
- from: 2026-01-01
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
limits_config:
allow_structured_metadata: true
ingestion_rate_mb: 4
ingestion_burst_size_mb: 8
volume_enabled: true
otlp_config:
resource_attributes:
ignore_defaults: true
attributes_config:
- action: index_label
attributes:
- service.name
- action: structured_metadata
attributes:
- service.instance.id
- service.version
- deployment.environment.name
analytics:
reporting_enabled: false