Prometheus scrape_config configuration

scrape_configs:						# 1
  - job_name: 'nodes'					# 2
    scrape_interval: 30s				# 3
    scrape_timeout: 3s					# 4
    scheme: https					# 5
    metrics_path: /stats/metrics			# 6
    static_configs:					# 7
      - targets: ['10.10.1.2:9090', '10.10.1.3:9090']	# 8
  1. Define a Job with the name of nodes
  2. Metrics should be scraped every 30s
  3. Timeout of scrape is 3s
  4. Use https instead of default http
  5. Scrape path is /stats/metrics instead of default of /metrics
  6. Scrape 2 targets
  7. 10.10.1.2:9090 and 10.10.1.3:9090