graphprotocol / mission-control-indexer

Technical indexer documentation and infrastructure templates for the Mission Control testnet
21 stars 4 forks source link

Prometheus: multiple index nodes: wrong metrics #193

Closed davaymne closed 4 years ago

davaymne commented 4 years ago

I am running 4 index-nodes and Prometheus configured to collect data from all of them.

  - job_name: 'index-node-0'
    scrape_interval: 5s
    static_configs:
      - targets: ['index-node-0:8040']

  - job_name: 'index-node-1'
    scrape_interval: 5s
    static_configs:
      - targets: ['index-node-1:8040']

  - job_name: 'index-node-2'
    scrape_interval: 5s
    static_configs:
      - targets: ['index-node-1:8040']

  - job_name: 'index-node-3'
    scrape_interval: 5s
    static_configs:
      - targets: ['index-node-1:8040']
davaymne commented 4 years ago

It seems to be a typo in config. Closing issue out.