Skip to content

Commit

Permalink
katana: update grafana dashboard with execution metrics (starkware-li…
Browse files Browse the repository at this point in the history
…bs#1818)

ref starkware-libs#1791 starkware-libs#1369

<img width="1420" alt="Screenshot 2024-04-12 at 2 36 56 AM" src="https://github.com/dojoengine/dojo/assets/26515232/b97b49df-c5fc-429a-9cb0-bf66138a00b6">

showing total gas and steps using a simple line charts, tracking its growth over time
  • Loading branch information
kariy authored Apr 12, 2024
1 parent 4ec3321 commit 99bd4cb
Showing 1 changed file with 223 additions and 10 deletions.
233 changes: 223 additions & 10 deletions monitoring/grafana/katana.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,219 @@
"x": 0,
"y": 0
},
"id": 122,
"panels": [],
"title": "Execution",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "cdh4g2kxwgx6od"
},
"description": "The total amount of L1 gas that has been processed",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Total gas",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 121,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "cdh4g2kxwgx6od"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "katana_block_producer_l1_gas_processed_total{instance=\"localhost:9100\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "L1 Gas Processed",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "cdh4g2kxwgx6od"
},
"description": "The total amount of Cairo steps that has been processed",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "Total steps",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"insertNulls": false,
"lineInterpolation": "smooth",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 1
},
"id": 123,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "cdh4g2kxwgx6od"
},
"disableTextWrap": false,
"editorMode": "builder",
"expr": "katana_block_producer_cairo_steps_processed_total{instance=\"localhost:9100\"}",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
"legendFormat": "__auto",
"range": true,
"refId": "A",
"useBackend": false
}
],
"title": "Cairo Steps Processed",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 108,
"panels": [],
"title": "RPC Server",
Expand Down Expand Up @@ -131,7 +344,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 1
"y": 10
},
"id": 109,
"options": {
Expand Down Expand Up @@ -193,7 +406,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 1
"y": 10
},
"id": 111,
"maxDataPoints": 25,
Expand Down Expand Up @@ -322,7 +535,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 9
"y": 18
},
"id": 120,
"options": {
Expand Down Expand Up @@ -380,7 +593,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 9
"y": 18
},
"id": 112,
"maxDataPoints": 25,
Expand Down Expand Up @@ -451,7 +664,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 17
"y": 26
},
"id": 97,
"panels": [],
Expand Down Expand Up @@ -523,7 +736,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 18
"y": 27
},
"id": 99,
"options": {
Expand Down Expand Up @@ -620,7 +833,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 18
"y": 27
},
"id": 101,
"options": {
Expand Down Expand Up @@ -716,7 +929,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 26
"y": 35
},
"id": 98,
"options": {
Expand Down Expand Up @@ -878,7 +1091,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 26
"y": 35
},
"id": 100,
"options": {
Expand Down Expand Up @@ -953,6 +1166,6 @@
"timezone": "",
"title": "katana",
"uid": "2k8BXz24x",
"version": 3,
"version": 6,
"weekStart": ""
}

0 comments on commit 99bd4cb

Please sign in to comment.