working for me ...
This commit is contained in:
		
							parent
							
								
									acf57aa686
								
							
						
					
					
						commit
						5a735b8c54
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								go.mod
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								go.mod
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| module git.dnix.de/an/covid-exporter | ||||
| 
 | ||||
| go 1.16 | ||||
| 
 | ||||
| require github.com/prometheus/client_golang v1.10.0 | ||||
							
								
								
									
										2
									
								
								main.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
										
									
									
									
								
							|  | @ -129,5 +129,5 @@ func serveMetrics() { | |||
| 	prometheus.MustRegister(gaugePopulation) | ||||
| 
 | ||||
| 	http.Handle("/metrics", promhttp.Handler()) | ||||
| 	http.ListenAndServe(":9099", nil) | ||||
| 	http.ListenAndServe("0.0.0.0:9099", nil) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue