Add monitoring
This commit is contained in:
		
							
								
								
									
										44
									
								
								monitoring/loki/config/config.yaml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										44
									
								
								monitoring/loki/config/config.yaml
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
# This is a complete configuration to deploy Loki backed by the filesystem.
 | 
			
		||||
# The index will be shipped to the storage via tsdb-shipper.
 | 
			
		||||
 | 
			
		||||
auth_enabled: false
 | 
			
		||||
 | 
			
		||||
server:
 | 
			
		||||
  http_listen_port: 43622
 | 
			
		||||
 | 
			
		||||
limits_config:
 | 
			
		||||
  ingestion_rate_mb: 100
 | 
			
		||||
  ingestion_burst_size_mb: 200
 | 
			
		||||
  per_stream_rate_limit: 10MB
 | 
			
		||||
  per_stream_rate_limit_burst: 20MB
 | 
			
		||||
 | 
			
		||||
common:
 | 
			
		||||
  ring:
 | 
			
		||||
    instance_addr: 127.0.0.1
 | 
			
		||||
    kvstore:
 | 
			
		||||
      store: inmemory
 | 
			
		||||
  replication_factor: 1
 | 
			
		||||
  path_prefix: /data/loki
 | 
			
		||||
  storage:
 | 
			
		||||
    filesystem:
 | 
			
		||||
      chunks_directory: /data/loki/chunks
 | 
			
		||||
 | 
			
		||||
schema_config:
 | 
			
		||||
  configs:
 | 
			
		||||
  - from: 2020-05-15
 | 
			
		||||
    store: tsdb
 | 
			
		||||
    object_store: filesystem
 | 
			
		||||
    schema: v13
 | 
			
		||||
    index:
 | 
			
		||||
      prefix: index_
 | 
			
		||||
      period: 24h
 | 
			
		||||
 | 
			
		||||
ruler:
 | 
			
		||||
  storage:
 | 
			
		||||
    type: local
 | 
			
		||||
    local:
 | 
			
		||||
      directory: /data/loki/rules
 | 
			
		||||
 | 
			
		||||
storage_config:
 | 
			
		||||
  filesystem:
 | 
			
		||||
    directory: /data/loki/chunks
 | 
			
		||||
		Reference in New Issue
	
	Block a user