Add Prometheus monitoring
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								config/.prometheus.yml.swp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								config/.prometheus.yml.swp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										13
									
								
								config/prometheus.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								config/prometheus.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | |||||||
|  | global: | ||||||
|  |   scrape_interval:     2s | ||||||
|  |   evaluation_interval: 2s | ||||||
|  |   scrape_timeout: 1s | ||||||
|  |  | ||||||
|  | scrape_configs: | ||||||
|  |   - job_name: nixie | ||||||
|  |     static_configs: | ||||||
|  |     - targets: | ||||||
|  |         - 192.168.88.16 | ||||||
|  |         - 192.168.88.17 | ||||||
|  |         - 192.168.88.18 | ||||||
|  |         - 192.168.88.20 | ||||||
							
								
								
									
										10
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | |||||||
|  | version: '3.7' | ||||||
|  |  | ||||||
|  | services: | ||||||
|  |   prometheus: | ||||||
|  |     network_mode: "host" | ||||||
|  |     image: prom/prometheus:latest | ||||||
|  |     command: | ||||||
|  |     - --config.file=/config/prometheus.yml | ||||||
|  |     volumes: | ||||||
|  |      - ./config:/config:ro | ||||||
		Reference in New Issue
	
	Block a user