Files
mtusi2026lab6/infra/loki/loki.yaml
T
Artyom 12db77133f Forward the lab 5 foundation while preserving lab 6 telemetry
Source: immutable lab5 snapshot f88e9ba43cdfd7eb6a5a7ae5feb4247b4e820071; forward the allowed diff from 64d5c67. Carry SQLAlchemy, Alembic, reliability fixes, versioned jobs, infrastructure and student tests without changing protected coursework files.

Validation: make check, validate, lint; 515 student tests passed with one Linux-only skip; public smoke with telemetry enabled and repeat migration passed. Stop the owned stack and retain volumes. Preserve the existing OTel work in progress; grade implementation remains a separate phase.
2026-11-06 12:29:35 +03:00

78 lines
1.5 KiB
YAML

auth_enabled: false
server:
http_listen_address: 0.0.0.0
http_listen_port: 3100
grpc_listen_port: 9096
log_level: warn
common:
instance_addr: 127.0.0.1
path_prefix: /loki
replication_factor: 1
storage:
filesystem:
chunks_directory: /loki/chunks
rules_directory: /loki/rules
ring:
kvstore:
store: inmemory
schema_config:
configs:
- from: "2026-01-01"
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h
ingester:
chunk_idle_period: 5m
max_chunk_age: 1h
limits_config:
allow_structured_metadata: true
volume_enabled: true
retention_period: 168h
reject_old_samples: true
reject_old_samples_max_age: 24h
ingestion_rate_mb: 8
ingestion_burst_size_mb: 16
max_query_lookback: 168h
otlp_config:
resource_attributes:
ignore_defaults: true
attributes_config:
- action: index_label
attributes:
- service.name
- deployment.environment.name
- action: structured_metadata
attributes:
- service.instance.id
- service.version
compactor:
working_directory: /loki/compactor
retention_enabled: true
delete_request_store: filesystem
compaction_interval: 10m
query_range:
results_cache:
cache:
embedded_cache:
enabled: true
max_size_mb: 64
pattern_ingester:
enabled: false
ruler:
enable_api: false
analytics:
reporting_enabled: false