fabric-samples/test-network/prometheus-grafana/prometheus/prometheus.yml
fraVlaca 77431f5b39
add prometheus/grafana performances sample into test-network directory (#576)
Signed-off-by: fraVlaca <ocsenarf@outlook.com>

added promethesus-grafana server to test-network

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

changed image for cadvisor to version that works on Linux

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

improved documentation on README and tweaked docker-compose file

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

updated and fixed documentation for the prometheus/grafana sample for the test-network

Signed-off-by: fraVlaca <ocsenarf@outlook.com>

final modification to grafana dashboard and prom/graf docs

Signed-off-by: fraVlaca <ocsenarf@outlook.com>
2022-01-20 09:37:37 +00:00

25 lines
645 B
YAML

global:
scrape_interval: 1s
external_labels:
monitor: 'devopsage-monitor'
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "orderer"
static_configs:
- targets: ["orderer.example.com:9443"]
- job_name: "peer0_org1"
static_configs:
- targets: ["peer0.org1.example.com:9444"]
- job_name: "peer0_org2"
static_configs:
- targets: ["peer0.org2.example.com:9445"]
- job_name: cadvisor
scrape_interval: 5s
static_configs:
- targets: ['cadvisor:8080']
- job_name: node
static_configs:
- targets: ['node-exporter:9100']