github.com/amazechain/amc@v0.1.3/deployments/prometheus/prometheus.yml (about)

     1  global:
     2    scrape_interval: 10s
     3    scrape_timeout: 3s
     4    evaluation_interval: 5s
     5  
     6  scrape_configs:
     7    - job_name: amc # example, how to connect prometheus to Amc
     8      metrics_path: /debug/metrics/prometheus
     9      scheme: http
    10      static_configs:
    11        - targets:
    12            - 172.18.0.2:6060
    13  #          - bootnode:6061
    14  #          - bootnode:6062
    15  #          - host.docker.internal:6060 # this is how docker-for-mac allow to access host machine
    16  #          - host.docker.internal:6061
    17  #          - host.docker.internal:6062
    18  #          - 192.168.255.134:6060
    19  #          - 192.168.255.134:6061
    20  #          - 192.168.255.134:6062
    21  #          - 192.168.255.138:6060
    22  #          - 192.168.255.138:6061
    23  #          - 192.168.255.138:6062
    24  
    25  #  - job_name: amc2 # this job collecting metrics in OpenMetrics format
    26  #    metrics_path: /debug/metrics/prometheus2
    27  #    scheme: http
    28  #    static_configs:
    29  #      - targets:
    30  #          - amc:6060
    31  #          - amc:6061
    32  #          - amc:6062
    33  #          - host.docker.internal:6060
    34  #          - host.docker.internal:6061
    35  #          - host.docker.internal:6062
    36  #          - 192.168.255.134:6060
    37  #          - 192.168.255.134:6061
    38  #          - 192.168.255.134:6062
    39  #          - 192.168.255.138:6060
    40  #          - 192.168.255.138:6061
    41  #          - 192.168.255.138:6062