github.com/koko1123/flow-go-1@v0.29.6/module/metrics/example/prometheus.yml (about)

     1  global:
     2    scrape_interval: 15s
     3    scrape_timeout: 10s
     4    evaluation_interval: 15s
     5  alerting:
     6    alertmanagers:
     7    - static_configs:
     8      - targets: []
     9      scheme: http
    10      timeout: 10s
    11      api_version: v1
    12  scrape_configs:
    13  - job_name: prometheus
    14    honor_timestamps: true
    15    scrape_interval: 1s
    16    scrape_timeout: 1s
    17    metrics_path: /metrics
    18    scheme: http
    19    static_configs:
    20    - targets:
    21      - localhost:3030