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

fix: limits to ethereum-listener genesis catchup #349

Merged
merged 17 commits into from
Mar 5, 2025
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
3 changes: 3 additions & 0 deletions k8s/local/aztec-listener/sp_testnet/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ spec:
name: postgres-config-global
- configMapRef:
name: postgres-config-aztec-listener-sp-testnet
env:
- name: TOTAL_DB_RESET
value: "false"
containers:
- image: aztec-listener:latest
resources:
Expand Down
2 changes: 1 addition & 1 deletion k8s/local/ethereum-listener/remote_devnet/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
- image: ethereum-listener:latest
resources:
limits:
memory: 150Mi
memory: 300Mi
cpu: 500m
name: ethereum-listener
env:
Expand Down
2 changes: 1 addition & 1 deletion k8s/local/ethereum-listener/sandbox/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- image: ethereum-listener:latest
resources:
limits:
memory: 150Mi
memory: 300Mi
cpu: 500m
name: ethereum-listener
envFrom:
Expand Down
2 changes: 1 addition & 1 deletion k8s/local/ethereum-listener/sp_testnet/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- image: ethereum-listener:latest
resources:
limits:
memory: 150Mi
memory: 300Mi
cpu: 500m
name: ethereum-listener
envFrom:
Expand Down
135 changes: 98 additions & 37 deletions k8s/local/grafana/dashboards/sandbox_overview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,40 @@ data:
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
"mode": "palette-classic"
},
"custom": {
"axisBorderShow": false,
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"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": {
Expand All @@ -46,18 +79,6 @@ data:
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 30
},
{
"color": "orange",
"value": 70
},
{
"color": "red",
"value": 90
}
]
}
Expand All @@ -70,23 +91,18 @@ data:
"x": 0,
"y": 0
},
"id": 3,
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "11.3.0-pre",
"targets": [
Expand Down Expand Up @@ -463,7 +479,7 @@ data:
}
],
"title": "L2-block finalization status",
"type": "stat"
"type": "timeseries"
},
{
"datasource": {
Expand Down Expand Up @@ -712,20 +728,67 @@ data:
},
"editorMode": "builder",
"format": "time_series",
"rawSql": "SELECT \"l1BlockNumber\", \"l2BlockNumber\", \"l1BlockTimestamp\" AS \"time\" FROM \"l1L2BlockProposed\" ORDER BY \"l1BlockTimestamp\" DESC LIMIT 50 ",
"rawSql": "SELECT \"l2BlockNumber\" AS \"L2 block number proposed on L1\", \"l1BlockTimestamp\" AS \"time\" FROM \"l1L2BlockProposed\" ORDER BY \"l1BlockTimestamp\" DESC LIMIT 50 ",
"refId": "A",
"sql": {
"columns": [
{
"alias": "\"L2 block number proposed on L1\"",
"parameters": [
{
"name": "\"l1BlockNumber\"",
"name": "\"l2BlockNumber\"",
"type": "functionParameter"
}
],
"type": "function"
},
{
"alias": "\"time\"",
"parameters": [
{
"name": "\"l1BlockTimestamp\"",
"type": "functionParameter"
}
],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50,
"orderBy": {
"property": {
"name": [
"\"l1BlockTimestamp\""
],
"type": "string"
},
"type": "property"
},
"orderByDirection": "DESC"
},
"table": "\"l1L2BlockProposed\""
},
{
"datasource": {
"type": "grafana-postgresql-datasource",
"uid": "aaaaaaaaaaaaaa"
},
"editorMode": "builder",
"format": "time_series",
"hide": false,
"rawSql": "SELECT \"l2BlockNumber\" AS \"L2 block number proven on L1\", \"l1BlockTimestamp\" AS \"time\" FROM \"l1L2ProofVerified\" ORDER BY \"l1BlockTimestamp\" DESC LIMIT 50 ",
"refId": "B",
"sql": {
"columns": [
{
"alias": "\"L2 block number proven on L1\"",
"parameters": [
{
"name": "\"l2BlockNumber\"",
Expand Down Expand Up @@ -756,19 +819,17 @@ data:
"limit": 50,
"orderBy": {
"property": {
"name": [
"\"l1BlockTimestamp\""
],
"name": "\"l1BlockTimestamp\"",
"type": "string"
},
"type": "property"
},
"orderByDirection": "DESC"
},
"table": "\"l1L2BlockProposed\""
"table": "\"l1L2ProofVerified\""
}
],
"title": "Panel Title",
"title": "L2 seen from L1",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -913,7 +974,7 @@ data:
"list": []
},
"time": {
"from": "now-5m",
"from": "now-30m",
"to": "now"
},
"timepicker": {},
Expand Down
2 changes: 1 addition & 1 deletion k8s/production/ethereum-listener/devnet/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
name: ethereum-listener
resources:
limits:
memory: 150Mi
memory: 300Mi
cpu: 500m
env:
- name: NODE_ENV
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
name: ethereum-listener
resources:
limits:
memory: 150Mi
memory: 300Mi
cpu: 500m
env:
- name: NODE_ENV
Expand Down
Loading