rycus86/prometheus_flask_exporter

View on GitHub
examples/sample-signals/prometheus/config.yml

Summary

Maintainability
Test Coverage
global:
  scrape_interval:     3s

  external_labels:
      monitor: 'example-app'

rule_files:

scrape_configs:
  - job_name: 'prometheus'

    static_configs:
      - targets: ['localhost:9090']

  - job_name: 'example'

    dns_sd_configs:
      - names: ['app']
        port: 5000
        type: A
        refresh_interval: 5s