Skip to content

Commit

Permalink
[dashboards] sync grafana dashboards (#4499)
Browse files Browse the repository at this point in the history
Co-authored-by: rustielin <[email protected]>
  • Loading branch information
github-actions[bot] and rustielin authored Sep 26, 2022
1 parent 792f881 commit 2f9ff45
Show file tree
Hide file tree
Showing 16 changed files with 1,916 additions and 712 deletions.
61 changes: 60 additions & 1 deletion dashboards/mempool.json
Original file line number Diff line number Diff line change
Expand Up @@ -1875,6 +1875,65 @@
"editable": false,
"error": false,
"gridPos": { "h": 8, "w": 8, "x": 8, "y": 95 },
"id": 133,
"isNew": false,
"span": 0,
"title": "Block size in bytes",
"description": "Average size in bytes of consensus blocks pulled from mempool",
"transparent": false,
"type": "timeseries",
"targets": [
{
"refId": "A",
"datasource": { "type": "prometheus", "uid": "${Datasource}" },
"expr": "rate(aptos_mempool_service_bytes_get_block_sum{chain_name=~\"$chain_name\", namespace=~\"$namespace\", kubernetes_pod_name=~\"$kubernetes_pod_name\", role=~\"$role\"}[$interval]) / rate(aptos_mempool_service_bytes_get_block_count{chain_name=~\"$chain_name\", namespace=~\"$namespace\", kubernetes_pod_name=~\"$kubernetes_pod_name\", role=~\"$role\"}[$interval])",
"intervalFactor": 1,
"legendFormat": "{{kubernetes_pod_name}}:{{role}}",
"format": "time_series"
}
],
"options": {
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom" },
"tooltip": { "mode": "multi" }
},
"fieldConfig": {
"defaults": {
"unit": "short",
"min": 0,
"color": { "mode": "palette-classic" },
"thresholds": {
"mode": "absolute",
"steps": [
{ "color": "green", "value": null },
{ "color": "red", "value": 80 }
]
},
"custom": {
"axisLabel": "avg block size",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"showPoints": "never",
"spanNulls": false,
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
"lineStyle": { "fill": "" },
"scaleDistribution": { "type": "linear" },
"stacking": { "group": "A", "mode": "none" },
"thresholdsStyle": { "mode": "off" }
}
}
}
},
{
"datasource": { "type": "prometheus", "uid": "${Datasource}" },
"editable": false,
"error": false,
"gridPos": { "h": 8, "w": 8, "x": 16, "y": 95 },
"id": 12,
"isNew": false,
"span": 0,
Expand Down Expand Up @@ -3439,7 +3498,7 @@
},
"refresh": false,
"schemaVersion": 37,
"version": 42,
"version": 43,
"links": [
{
"title": "Other Dashboards",
Expand Down
Binary file modified dashboards/mempool.json.gz
Binary file not shown.
Loading

0 comments on commit 2f9ff45

Please sign in to comment.