49 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
auth_enabled: true
 | 
						|
 | 
						|
server:
 | 
						|
  http_listen_port: 3100
 | 
						|
  log_level: info
 | 
						|
 | 
						|
common:
 | 
						|
  ring:
 | 
						|
    instance_addr: 127.0.0.1
 | 
						|
    kvstore:
 | 
						|
      store: inmemory
 | 
						|
  replication_factor: 1
 | 
						|
  path_prefix: /var/loki
 | 
						|
 | 
						|
schema_config:
 | 
						|
  configs:
 | 
						|
    - from: 2024-01-01
 | 
						|
      store: boltdb-shipper
 | 
						|
      object_store: filesystem
 | 
						|
      schema: v13
 | 
						|
      index:
 | 
						|
        prefix: loki_index_
 | 
						|
        period: 24h
 | 
						|
 | 
						|
storage_config:
 | 
						|
  filesystem:
 | 
						|
    directory: /var/loki/chunks
 | 
						|
  boltdb_shipper:
 | 
						|
    active_index_directory: /var/loki/index
 | 
						|
    cache_location: /var/loki/index_cache
 | 
						|
    shared_store: filesystem
 | 
						|
 | 
						|
ruler:
 | 
						|
  storage:
 | 
						|
    type: local
 | 
						|
    local:
 | 
						|
      directory: /var/loki/rules
 | 
						|
  rule_path: /tmp/loki-rules
 | 
						|
  enable_api: true
 | 
						|
 | 
						|
limits_config:
 | 
						|
  enforce_metric_name: false
 | 
						|
  reject_old_samples: true
 | 
						|
  reject_old_samples_max_age: 168h
 | 
						|
  max_entries_limit_per_query: 5000
 | 
						|
  ingestion_rate_mb: 10
 | 
						|
  ingestion_burst_size_mb: 20
 | 
						|
  per_tenant_override_config: /etc/telemetry/tenants/loki-overrides.yaml
 |