github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/config/metrics/prometheus/prometheus.yml (about)

     1  global:
     2    scrape_interval:     3s # By default, scrape targets every 15 seconds.
     3    evaluation_interval: 3s # By default, scrape targets every 15 seconds.
     4    # scrape_timeout is set to the global default (10s).
     5  
     6  scrape_configs:
     7  
     8    - job_name: supernets2-node
     9      scrape_interval: 3s
    10      metrics_path: /metrics
    11      static_configs:
    12        - targets:
    13            - supernets2-json-rpc:9091 #inside port of the supernets2-json-rpc
    14            - supernets2-sequencer:9091 #inside port of the supernets2-sequencer