Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grafana dashboard json definitions #216

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 48 additions & 64 deletions grafana/Node-Management.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
{
"__inputs": [
{
"name": "DS_INFURA_MAINET",
"label": "infura_mainet",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.2.6"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand All @@ -44,24 +8,16 @@
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1680764628038,
"id": 60,
"iteration": 1723104850038,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": null,
Expand All @@ -77,7 +33,7 @@
"content": "\nThis dashboard follows the RED method (Rate of traffic, Errors, Duration/latency) to measure node management service.\n\n- The \"Network\" variable is the data source for the dashboard, and it applies to the whole dashboard.\n- The \"Space\" variable is the network space and \"RouteGroup\" is the node goup, they are used to filter nodes to show.\n- The \"Rate\" variable only applies to the rate breakdown, and the \"Latency\" variable only applies to the duration breakdown.",
"mode": "markdown"
},
"pluginVersion": "8.2.6",
"pluginVersion": "8.0.3",
"title": "README",
"type": "text"
},
Expand All @@ -94,7 +50,7 @@
"type": "row"
},
{
"datasource": "${DS_INFURA_MAINET}",
"datasource": "${network}",
"description": "",
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -229,7 +185,7 @@
"type": "row"
},
{
"datasource": "${DS_INFURA_MAINET}",
"datasource": "${network}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -366,7 +322,7 @@
"type": "row"
},
{
"datasource": "${DS_INFURA_MAINET}",
"datasource": "${network}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -488,7 +444,7 @@
}
],
"refresh": "",
"schemaVersion": 32,
"schemaVersion": 30,
"style": "dark",
"tags": [
"red",
Expand All @@ -500,7 +456,7 @@
"list": [
{
"current": {
"selected": true,
"selected": false,
"text": "infura_mainet",
"value": "infura_mainet"
},
Expand Down Expand Up @@ -551,9 +507,17 @@
"type": "custom"
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFURA_MAINET}",
"allValue": "",
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": "${network}",
"definition": "show measurements",
"description": null,
"error": null,
Expand All @@ -572,8 +536,16 @@
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFURA_MAINET}",
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": "${network}",
"definition": "show measurements",
"description": null,
"error": null,
Expand All @@ -592,8 +564,16 @@
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFURA_MAINET}",
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"datasource": "${network}",
"definition": "show measurements",
"description": null,
"error": null,
Expand Down Expand Up @@ -699,8 +679,12 @@
},
{
"allValue": null,
"current": {},
"datasource": "${DS_INFURA_MAINET}",
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": "${network}",
"definition": "show measurements",
"description": null,
"error": null,
Expand All @@ -712,20 +696,20 @@
"options": [],
"query": "show measurements",
"refresh": 1,
"regex": "/^infura/nodes/$space/latency/(?:${routeGroup:pipe})/.+\\.histogram$/",
"regex": "/^infura/nodes/${space}/latency/(?:${routeGroup:pipe})/.+\\.histogram$/",
"skipUrlSync": false,
"sort": 6,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"from": "now-7d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Node Management RED",
"uid": "dt5bqq3nk",
"version": 12
"version": 14
}
3 changes: 2 additions & 1 deletion grafana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ This folder contains all dashboard JSON models which can be imported into Grafan
| Sync-RED | RED metrics for indexing sync |
| Sync-Fullnode-Query | Full node query metrics for indexing sync |
| Sync-Store-Ops | Store operation metrics for indexing sync |
*`RED`: Three key metrics collected: `Rate`, `Error` and `Duration`.*
| Virtual-Filter | Operation (eg., polling) metrics for filter |
*`RED`: Three key metrics are collected: `Rate`, `Error` and `Duration`.*
56 changes: 6 additions & 50 deletions grafana/RPC-Batch.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,4 @@
{
"__inputs": [
{
"name": "DS_INFURA_MAINET",
"label": "infura_mainet",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "8.2.6"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
},
{
"type": "panel",
"id": "text",
"name": "Text",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand All @@ -44,25 +8,17 @@
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1680765882807,
"id": 53,
"iteration": 1723105048485,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
Expand Down Expand Up @@ -90,7 +46,7 @@
"content": "This dashboard measures number of requests and request latency per batch.",
"mode": "markdown"
},
"pluginVersion": "8.2.6",
"pluginVersion": "8.0.3",
"title": "README",
"type": "text"
},
Expand All @@ -109,7 +65,7 @@
"type": "row"
},
{
"datasource": "${DS_INFURA_MAINET}",
"datasource": "${network}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -312,7 +268,7 @@
"type": "row"
},
{
"datasource": "${DS_INFURA_MAINET}",
"datasource": "${network}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -503,7 +459,7 @@
"type": "timeseries"
}
],
"schemaVersion": 32,
"schemaVersion": 30,
"style": "dark",
"tags": [
"batch",
Expand Down
Loading
Loading