Update prometheus config to use domain names now
This commit is contained in:
		@@ -20,18 +20,19 @@ global:
 | 
			
		||||
# Here it's Prometheus itself.
 | 
			
		||||
scrape_configs:
 | 
			
		||||
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
 | 
			
		||||
  # wtf is this prometheus job?
 | 
			
		||||
  - job_name: "prometheus"
 | 
			
		||||
    static_configs:
 | 
			
		||||
      - targets: ["127.0.0.1:43261"]
 | 
			
		||||
      - targets: ["prometheus.site.quack-lab.dev"]
 | 
			
		||||
 | 
			
		||||
  - job_name: 'node_exporter'
 | 
			
		||||
    static_configs:
 | 
			
		||||
      - targets: ['localhost:56546']
 | 
			
		||||
      - targets: ['nodeexporter-sparky.site.quack-lab.dev']
 | 
			
		||||
      # - targets: ['nodeexporter:56546']
 | 
			
		||||
    
 | 
			
		||||
  - job_name: 'node_exporter_lilbox'
 | 
			
		||||
    static_configs:
 | 
			
		||||
      - targets: ['192.168.1.78:56546']
 | 
			
		||||
  # - job_name: 'node_exporter_lilbox'
 | 
			
		||||
  #   static_configs:
 | 
			
		||||
  #     - targets: ['192.168.1.78:56546']
 | 
			
		||||
 | 
			
		||||
  - job_name: 'power-meter-reader'
 | 
			
		||||
    scrape_interval: 30s
 | 
			
		||||
@@ -46,11 +47,11 @@ scrape_configs:
 | 
			
		||||
  - job_name: 'libre-metrics-exporter-dave'
 | 
			
		||||
    scrape_interval: 10s
 | 
			
		||||
    static_configs:
 | 
			
		||||
      - targets: ['192.168.1.64:9646']
 | 
			
		||||
      - targets: ['libre-metrics-exporter-dave.site.quack-lab.dev']
 | 
			
		||||
  - job_name: 'libre-metrics-exporter-jana'
 | 
			
		||||
    scrape_interval: 10s
 | 
			
		||||
    static_configs:
 | 
			
		||||
      - targets: ['192.168.1.68:9646']
 | 
			
		||||
      - targets: ['libre-metrics-exporter-jana.site.quack-lab.dev']
 | 
			
		||||
 | 
			
		||||
#   - job_name: 'libre-metrics-exporter-jana'
 | 
			
		||||
#     scrape_interval: 10s
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user