chore(backend): Loki configureren
De meeste console statements vervangen door Loki
This commit is contained in:
		
							parent
							
								
									0f8bd3df6a
								
							
						
					
					
						commit
						7fd6305fd9
					
				
					 8 changed files with 767 additions and 40 deletions
				
			
		
							
								
								
									
										30
									
								
								config/loki/config.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								config/loki/config.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| 
 | ||||
| # 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: 3102 | ||||
| 
 | ||||
| common: | ||||
|     ring: | ||||
|         instance_addr: 127.0.0.1 | ||||
|         kvstore: | ||||
|             store: inmemory | ||||
|     replication_factor: 1 | ||||
|     path_prefix: /tmp/loki | ||||
| 
 | ||||
| schema_config: | ||||
|     configs: | ||||
|         - from: 2020-05-15 | ||||
|           store: tsdb | ||||
|           object_store: filesystem | ||||
|           schema: v13 | ||||
|           index: | ||||
|               prefix: index_ | ||||
|               period: 24h | ||||
| 
 | ||||
| storage_config: | ||||
|     filesystem: | ||||
|         directory: /tmp/loki/chunks | ||||
		Reference in a new issue