forked from matter-labs/zksync-era
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f1d1a2
commit be428a5
Showing
20 changed files
with
725 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,334 @@ | ||
{ | ||
"annotations": { | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": { | ||
"type": "datasource", | ||
"uid": "grafana" | ||
}, | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"target": { | ||
"limit": 100, | ||
"matchAny": false, | ||
"tags": [], | ||
"type": "dashboard" | ||
}, | ||
"type": "dashboard" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "datasource", | ||
"uid": "grafana" | ||
}, | ||
"enable": false, | ||
"expr": "any", | ||
"hide": false, | ||
"iconColor": "red", | ||
"name": "flux", | ||
"tagKeys": "flux", | ||
"target": { | ||
"refId": "Anno", | ||
"tags": [ | ||
"flux" | ||
], | ||
"type": "tags" | ||
} | ||
} | ||
] | ||
}, | ||
"description": "", | ||
"editable": true, | ||
"fiscalYearStartMonth": 0, | ||
"graphTooltip": 1, | ||
"id": 4, | ||
"links": [ | ||
{ | ||
"asDropdown": false, | ||
"icon": "external link", | ||
"includeVars": false, | ||
"keepTime": false, | ||
"tags": [ | ||
"Era-Main" | ||
], | ||
"targetBlank": false, | ||
"title": "", | ||
"tooltip": "", | ||
"type": "dashboards", | ||
"url": "" | ||
}, | ||
{ | ||
"asDropdown": true, | ||
"icon": "external link", | ||
"includeVars": false, | ||
"keepTime": false, | ||
"tags": [ | ||
"Era" | ||
], | ||
"targetBlank": false, | ||
"title": "Other Era Dashboards", | ||
"tooltip": "", | ||
"type": "dashboards", | ||
"url": "" | ||
} | ||
], | ||
"liveNow": false, | ||
"panels": [ | ||
{ | ||
"collapsed": false, | ||
"gridPos": { | ||
"h": 1, | ||
"w": 24, | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
"id": 11035, | ||
"panels": [], | ||
"title": "EigenDA", | ||
"type": "row" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${datasource}" | ||
}, | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "palette-classic" | ||
}, | ||
"custom": { | ||
"axisBorderShow": false, | ||
"axisCenteredZero": false, | ||
"axisColorMode": "text", | ||
"axisLabel": "", | ||
"axisPlacement": "auto", | ||
"barAlignment": 0, | ||
"drawStyle": "line", | ||
"fillOpacity": 0, | ||
"gradientMode": "none", | ||
"hideFrom": { | ||
"legend": false, | ||
"tooltip": false, | ||
"viz": false | ||
}, | ||
"insertNulls": false, | ||
"lineInterpolation": "linear", | ||
"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": 11034, | ||
"options": { | ||
"legend": { | ||
"calcs": [], | ||
"displayMode": "list", | ||
"placement": "bottom", | ||
"showLegend": true | ||
}, | ||
"tooltip": { | ||
"maxHeight": 600, | ||
"mode": "single", | ||
"sort": "none" | ||
} | ||
}, | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "PBFA97CFB590B2093" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "blob_retrievals_total", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "Blob Total", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "Blob Amount", | ||
"type": "timeseries" | ||
}, | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${datasource}" | ||
}, | ||
"description": "", | ||
"fieldConfig": { | ||
"defaults": { | ||
"color": { | ||
"mode": "thresholds" | ||
}, | ||
"mappings": [], | ||
"thresholds": { | ||
"mode": "absolute", | ||
"steps": [ | ||
{ | ||
"color": "green", | ||
"value": null | ||
}, | ||
{ | ||
"color": "red", | ||
"value": 80 | ||
} | ||
] | ||
} | ||
}, | ||
"overrides": [] | ||
}, | ||
"gridPos": { | ||
"h": 8, | ||
"w": 12, | ||
"x": 12, | ||
"y": 1 | ||
}, | ||
"id": 11036, | ||
"options": { | ||
"colorMode": "value", | ||
"graphMode": "area", | ||
"justifyMode": "auto", | ||
"orientation": "auto", | ||
"reduceOptions": { | ||
"calcs": [ | ||
"lastNotNull" | ||
], | ||
"fields": "", | ||
"values": false | ||
}, | ||
"showPercentChange": false, | ||
"textMode": "auto", | ||
"wideLayout": true | ||
}, | ||
"pluginVersion": "11.0.0", | ||
"targets": [ | ||
{ | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${datasource}" | ||
}, | ||
"disableTextWrap": false, | ||
"editorMode": "builder", | ||
"expr": "blob_avg_size", | ||
"fullMetaSearch": false, | ||
"includeNullMetadata": true, | ||
"instant": false, | ||
"legendFormat": "__auto", | ||
"range": true, | ||
"refId": "A", | ||
"useBackend": false | ||
} | ||
], | ||
"title": "Blob Avg Size (Bytes)", | ||
"type": "stat" | ||
} | ||
], | ||
"refresh": "1m", | ||
"revision": 1, | ||
"schemaVersion": 39, | ||
"tags": [ | ||
"Era-Main" | ||
], | ||
"templating": { | ||
"list": [ | ||
{ | ||
"current": { | ||
"selected": false, | ||
"text": "Prometheus", | ||
"value": "PBFA97CFB590B2093" | ||
}, | ||
"hide": 0, | ||
"includeAll": false, | ||
"multi": false, | ||
"name": "datasource", | ||
"options": [], | ||
"query": "prometheus", | ||
"queryValue": "", | ||
"refresh": 1, | ||
"regex": "^(?!prometheus-1$|prometheus$|vm-mainnet$|vm-gpu-sandbox$|vm-testnets$|vm-infra$|vm-infra-staging$|default$).*", | ||
"skipUrlSync": false, | ||
"type": "datasource" | ||
}, | ||
{ | ||
"current": { | ||
"isNone": true, | ||
"selected": false, | ||
"text": "None", | ||
"value": "" | ||
}, | ||
"datasource": { | ||
"type": "prometheus", | ||
"uid": "${datasource}" | ||
}, | ||
"definition": "label_values(server_processed_txs{stage=~\"state_keeper\"}, namespace)", | ||
"hide": 0, | ||
"includeAll": false, | ||
"multi": false, | ||
"name": "namespace", | ||
"options": [], | ||
"query": { | ||
"query": "label_values(server_processed_txs{stage=~\"state_keeper\"}, namespace)", | ||
"refId": "StandardVariableQuery" | ||
}, | ||
"refresh": 2, | ||
"regex": "^(?!snapshot_recovery_test$).*", | ||
"skipUrlSync": false, | ||
"sort": 0, | ||
"type": "query" | ||
} | ||
] | ||
}, | ||
"time": { | ||
"from": "now-15m", | ||
"to": "now" | ||
}, | ||
"timeRangeUpdatedDuringEditOrView": false, | ||
"timepicker": {}, | ||
"timezone": "", | ||
"title": "EigenDA", | ||
"uid": "0Y8DUff4j", | ||
"version": 1, | ||
"weekStart": "" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use serde::Deserialize; | ||
|
||
#[derive(Clone, Debug, PartialEq, Deserialize, Default)] | ||
pub struct EigenDAConfig { | ||
pub api_node_url: String, | ||
pub custom_quorum_numbers: Option<Vec<u32>>, | ||
pub account_id: Option<String>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.