diff --git a/grafana/provisioning/dashboards/dashboard.yml b/grafana/provisioning/dashboards/dashboard.yml index 4cf719ed..9060b0ca 100644 --- a/grafana/provisioning/dashboards/dashboard.yml +++ b/grafana/provisioning/dashboards/dashboard.yml @@ -1,7 +1,7 @@ apiVersion: 1 providers: - - name: 'rpc-node' + - name: 'Prometheus' orgId: 1 folder: 'rpc-node' type: file @@ -9,5 +9,5 @@ providers: editable: true allowUiUpdates: true options: - path: /etc/grafana/provisioning/dashboards/rpc-node + path: /etc/grafana/provisioning/dashboards foldersFromFilesStructure: true diff --git a/prometheus/prometheus-rpc.yml b/prometheus/prometheus-rpc.yml index 77d68e41..01b43e67 100644 --- a/prometheus/prometheus-rpc.yml +++ b/prometheus/prometheus-rpc.yml @@ -5,7 +5,7 @@ global: # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). external_labels: - monitor: 'rpc-node' + monitor: 'docker-host-alpha' # Load and evaluate rules in this file every 'evaluation_interval' seconds. rule_files: @@ -34,29 +34,29 @@ scrape_configs: static_configs: - targets: ['pushgateway:9091'] -# - job_name: 'geth-mainnet' -# scrape_interval: 10s -# honor_labels: true -# static_configs: -# - targets: ['geth-mainnet:6060'] -# -# - job_name: 'geth-goerli' -# scrape_interval: 10s -# honor_labels: true -# static_configs: -# - targets: ['geth-goerli:6060'] -# -# - job_name: 'geth-rinkeby' -# scrape_interval: 10s -# honor_labels: true -# static_configs: -# - targets: ['geth-rinkeby:6060'] -# -# - job_name: 'geth-ropsten' -# scrape_interval: 10s -# honor_labels: true -# static_configs: -# - targets: ['geth-ropsten:6060'] + - job_name: 'geth-mainnet' + scrape_interval: 10s + honor_labels: true + static_configs: + - targets: ['geth-mainnet:6060'] + + - job_name: 'geth-goerli' + scrape_interval: 10s + honor_labels: true + static_configs: + - targets: ['geth-goerli:6060'] + + - job_name: 'geth-rinkeby' + scrape_interval: 10s + honor_labels: true + static_configs: + - targets: ['geth-rinkeby:6060'] + + - job_name: 'geth-ropsten' + scrape_interval: 10s + honor_labels: true + static_configs: + - targets: ['geth-ropsten:6060'] alerting: alertmanagers: