Skip to content

Commit

Permalink
Updated test non-public grafana to display ETH connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszslabon committed Sep 5, 2023
1 parent dc80693 commit 75eacbe
Showing 1 changed file with 163 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -653,12 +653,38 @@
"value": 80
}
]
}
},
"unit": "bool"
},
"overrides": []
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"0xcAB2a402bAc470686d14956FB310D51BbEF9fA31"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 20,
"h": 10,
"w": 13,
"x": 11,
"y": 36
Expand Down Expand Up @@ -699,6 +725,139 @@
"title": "BTC Connectivity",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "P09205B1DD12FB1C6"
},
"description": "Provides information whether the node is connected to the Ethereum network",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "red",
"value": null
},
{
"color": "super-light-yellow",
"value": 50
},
{
"color": "super-light-green",
"value": 80
}
]
},
"unit": "bool"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"0x785c5074db6AD52F20338AC472433E7e9306a6B3"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 13,
"x": 11,
"y": 46
},
"id": 14,
"interval": "1m",
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Last",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P09205B1DD12FB1C6"
},
"editorMode": "builder",
"expr": "min by(chain_address) (eth_connectivity{job=\"keep-discovered-nodes\"})",
"hide": false,
"interval": "",
"legendFormat": "{{chain_address}}",
"range": true,
"refId": "Discovered Keep Nodes"
}
],
"title": "ETH Connectivity",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
Expand Down Expand Up @@ -876,6 +1035,6 @@
"timezone": "",
"title": "Keep Nodes",
"uid": "tMgEvbnVk",
"version": 20,
"version": 23,
"weekStart": ""
}

0 comments on commit 75eacbe

Please sign in to comment.