forklaunch 1.15.0

Launch faster with forklaunch
# Grafana Loki — local logs backend.
#
# Mirrors the production Loki config generated by the deployment agent. Storage
# points at MinIO rather than AWS S3; everything else is the production shape.
#
# `auth_enabled: true` is Loki's name for multitenancy. It matches production,
# and it means every write and every read must carry an X-Scope-OrgID header.
# The collector and the Grafana datasource both send `local`.

auth_enabled: true

server:
  http_listen_port: 3100
  grpc_listen_port: 9096
  log_level: warn

common:
  ring:
    kvstore:
      store: inmemory
    instance_addr: 127.0.0.1
  replication_factor: 1
  path_prefix: /loki

schema_config:
  configs:
    - from: "2024-01-01"
      store: tsdb
      object_store: s3
      schema: v13
      index:
        prefix: loki_index_
        period: 24h

storage_config:
  aws:
    endpoint: minio:9000
    bucketnames: forklaunch-telemetry
    access_key_id: minioadmin
    secret_access_key: minioadmin
    insecure: true
    s3forcepathstyle: true
  tsdb_shipper:
    active_index_directory: /loki/index
    cache_location: /loki/cache

compactor:
  working_directory: /loki/compactor
  compaction_interval: 10m
  retention_enabled: true
  retention_delete_delay: 2h
  delete_request_store: s3

limits_config:
  allow_structured_metadata: true
  volume_enabled: true
  retention_period: 168h
  otlp_config:
    resource_attributes:
      attributes_config:
        - action: index_label
          attributes:
            - service_name
            - service.name