Skip to content

Instantly share code, notes, and snippets.

@cryptovestor21
Last active September 14, 2020 20:33
Show Gist options
  • Save cryptovestor21/557d1c23d708a90867b9374b9708e557 to your computer and use it in GitHub Desktop.
Save cryptovestor21/557d1c23d708a90867b9374b9708e557 to your computer and use it in GitHub Desktop.
Grafana - block processing performance
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
30
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Eth RPC Request Duration per Subgraph alert",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus_graph-indexer-0",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 0,
"fillGradient": 0,
"gridPos": {
"h": 5,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 41,
"legend": {
"avg": true,
"current": false,
"max": true,
"min": true,
"show": false,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "deployment_eth_rpc_request_duration",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [
{
"$$hashKey": "object:141",
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 30,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Eth RPC Request Duration per Subgraph",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment