diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000000..1c0cb97a77 --- /dev/null +++ b/docker/README.md @@ -0,0 +1,98 @@ +# Prometheus & Grafana Setup Guide + +This document explains how to run Prometheus and Grafana locally for two audiences: + +1) **Node runners** who want to view dashboards alongside their nodes +2) **Citrea developers** who want to update dashboards locally and sync changes to production + +--- + +## 1) For Node Runners: View Grafana Dashboards Next to Your Node + +1. Go to the Docker directory: + - `/docker` + +2. Start the user telemetry stack: + ```bash + docker compose -f docker-compose.telemetry.user.yaml up + ``` + +3. Open Grafana: + - `http://localhost:3000` + +4. Import a dashboard: + - Navigate to: + - `/resources/grafana/user` + - Copy the JSON for the node type you want. + - Import it into Grafana. + +**Note:** Don’t forget to add the telemetry config to your `rollup_config.toml`. + +--- + +## 2) For Citrea Developers: Update Dashboards Locally and Sync to Production + +### Run Prometheus + Grafana Locally + +1. Go to the Docker directory: + - `/docker` + +2. Start the developer telemetry stack: + ```bash + docker compose -f docker-compose.telemetry.yaml up + ``` + +3. Open Grafana and make your dashboard changes: + - `http://localhost:3000` + +--- + +### Update the Production Dashboard + +4. When exporting your updated dashboard: + - Select **Export as code → Classic** + - Disable **Export for sharing externally** + - This ensures the local data source UID remains compatible with production. + +5. In production Grafana: + - Open the dashboard + - Click **Edit** + - Go to **Settings → JSON Model** + - Paste the updated JSON. + +6. Save the updated production dashboard JSON under: + - `resources/grafana/prod` + +--- + +### Update User Dashboards + +7. After updating the production dashboard, generate the user version using: + ```bash + python ./resource/grafana/remove_labels.py \ + ./resources/grafana/prod/.dashboard.json \ + > ./resources/grafana/user/.dashboard.json + ``` + +8. Validate: + - Run Prometheus/Grafana in **user mode** + - Import the newly generated user dashboard + - Confirm everything looks correct. + +--- + +## Summary + +- **Node runners** should use: + - `docker-compose.telemetry.user.yaml` + - User dashboards from `resources/grafana/user` + +- **Developers** should: + - Update locally with `docker-compose.telemetry.yaml` + - Export carefully to preserve UID compatibility + - Paste into prod JSON Model + - Commit the updated JSON in: + - `resources/grafana/prod` + - Regenerate user dashboards using `remove_labels.py` + +--- diff --git a/docker/docker-compose.telemetry.user.yaml b/docker/docker-compose.telemetry.user.yaml new file mode 100644 index 0000000000..4a72a1ef21 --- /dev/null +++ b/docker/docker-compose.telemetry.user.yaml @@ -0,0 +1,43 @@ +services: + prometheus: + container_name: prometheus.citrea + image: prom/prometheus + ports: + - 9090:9090 + volumes: + - ./telemetry-user/prometheus.yml:/etc/prometheus/prometheus.yml + networks: + - monitoring + extra_hosts: + - "host.docker.internal:host-gateway" + grafana: + image: grafana/grafana-enterprise + ports: + - 3000:3000 + environment: + - GF_SECURITY_ADMIN_PASSWORD=password + volumes: + - grafana_data_user:/var/lib/grafana + - ./telemetry-user/grafana/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml + networks: + - monitoring + + cadvisor: + image: gcr.io/cadvisor/cadvisor + ports: + - 8080:8080 + volumes: + - /:/rootfs:ro + - /var/run:/var/run:ro + - /sys:/sys:ro + - /var/lib/docker/:/var/lib/docker:ro + - /var/run/docker.sock:/var/run/docker.sock:ro # Add only if you have your containers running on Mac + networks: + - monitoring + +networks: + monitoring: + driver: bridge + +volumes: + grafana_data_user: {} diff --git a/docker/docker-compose.telemetry.yaml b/docker/docker-compose.telemetry.yaml index c2561f302a..fdac7965a8 100644 --- a/docker/docker-compose.telemetry.yaml +++ b/docker/docker-compose.telemetry.yaml @@ -1,6 +1,10 @@ services: prometheus: - image: prom/prometheus + container_name: prometheus.citrea + build: + context: ./prometheus + dockerfile: Dockerfile + image: local-prometheus ports: - 9090:9090 volumes: @@ -18,6 +22,7 @@ services: - GF_SECURITY_ADMIN_PASSWORD=password volumes: - grafana_data:/var/lib/grafana + - ./telemetry/grafana/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml networks: - monitoring diff --git a/docker/prometheus/Dockerfile b/docker/prometheus/Dockerfile new file mode 100644 index 0000000000..d6aab963e7 --- /dev/null +++ b/docker/prometheus/Dockerfile @@ -0,0 +1,23 @@ +FROM prom/prometheus:v3.4.0 AS source + +FROM ubuntu:24.04 + +RUN apt update && apt -y upgrade && apt -y install python3 python3-pip && apt -y autoremove && apt clean && rm -rf /var/lib/apt/lists/* + +RUN pip3 install --break-system-packages pyyaml + +COPY --from=source /bin/prometheus /bin/prometheus +COPY --from=source /bin/promtool /bin/promtool + +RUN mkdir -p /mnt/task/prometheus-data && mkdir -p /etc/prometheus + +RUN apt update && apt install telnet -y + +WORKDIR /srv + +COPY start.sh /srv/start.sh +COPY init.py /srv/init.py + +RUN chmod +x /srv/start.sh + +ENTRYPOINT ["/srv/start.sh"] diff --git a/docker/prometheus/init.py b/docker/prometheus/init.py new file mode 100644 index 0000000000..737cf54f4a --- /dev/null +++ b/docker/prometheus/init.py @@ -0,0 +1,165 @@ +from copy import deepcopy + +import yaml + + +LOCAL = { + "ENVIRONMENT": "CORE", + "NET_NAME": "DEV-NET", + "SERVICE:citrea-sequencer": "host.docker.internal:8001", + "SERVICE:citrea-full-node": "host.docker.internal:8002", + "SERVICE:citrea-prover": "host.docker.internal:8003", + "SERVICE:citrea-light-prover": "host.docker.internal:8004", +} + + +def main(): + net_name = LOCAL["NET_NAME"] + env_name = LOCAL["ENVIRONMENT"] + + services = [(k.split(":")[1], v) for k, v in LOCAL.items() if k.startswith("SERVICE:")] + + prometheus_config_yaml = create_prometheus_config(net_name, env_name, services) + + # print(prometheus_config_yaml) + + with open("/etc/prometheus/prometheus.yml", "w") as f: + f.write(prometheus_config_yaml) + + +def create_prometheus_config(net_name: str, env_name: str, services: list[tuple[str, str]]): + net_name = net_name.lower() + env_name = env_name.lower() + + global_config = { + "scrape_interval": "15s", + "evaluation_interval": "15s" + } + + general_relabel_configs = [ + { + "source_labels": [ + "__address__" + ], + "target_label": "net_name", + "replacement": net_name + }, + { + "source_labels": [ + "__address__" + ], + "target_label": "env_name", + "replacement": env_name + } + ] + + self_scrape_config = { + "job_name": "prometheus", + "static_configs": [ + { + "targets": [ + "127.0.0.1:9090" + ] + } + ], + "relabel_configs": [ + *deepcopy(general_relabel_configs), + *replacement_builder(".*", "prometheus"), + ] + } + + service_grouped = { + k: [f"{x[1]}" for x in services if x[0] == k] + for k in set(x[0] for x in services) + } + + service_configs = [ + { + "job_name": k, + "scrape_interval": "1s", + "static_configs": [ + { + "targets": v + } + ], + "relabel_configs": [ + *deepcopy(general_relabel_configs), + *replacement_builder("(.*)\.?:.*", "$1"), + *replacement_builder("(.*)\.citrea\.?:.*", "$1"), + *replacement_builder(f"{env_name}-{net_name}-(.*)\.citrea\.?:.*", "$1"), + ] + } + for k, v in service_grouped.items() + ] + + scrape_configs = [ + self_scrape_config, + *service_configs, + ] + + + prometheus_config = { + "global": global_config, + "scrape_configs": scrape_configs + } + + prometheus_config_yaml = yaml.dump(prometheus_config, default_flow_style=False) + return prometheus_config_yaml + + +def replacement_builder(regex: str, replacement: str): + net_name = LOCAL["NET_NAME"].lower() + env_name = LOCAL["ENVIRONMENT"].lower() + + if "dev" in net_name: + short_prefix_start = "dn" + elif "test" in net_name: + short_prefix_start = "tn" + elif "main" in net_name: + short_prefix_start = "mn" + elif "general" in net_name: + short_prefix_start = "g" + else: + short_prefix_start = "x" + + if "core" in env_name: + short_prefix_end = "c" + elif "web" in env_name: + short_prefix_end = "w" + elif "pop" in env_name: + short_prefix_end = "p" + if "eu" in env_name: + short_prefix_end = f"{short_prefix_end}eu" + elif "ap" in env_name: + short_prefix_end = f"{short_prefix_end}ap" + else: + short_prefix_end = f"{short_prefix_end}xx" + elif "common" in env_name: + short_prefix_end = "c" + else: + short_prefix_end = "x" + + short_prefix = f"{short_prefix_start}{short_prefix_end}" + + return deepcopy([ + { + "source_labels": [ + "__address__" + ], + "regex": regex, + "target_label": "instance", + "replacement": f"{short_prefix}-{replacement}", + }, + { + "source_labels": [ + "__address__" + ], + "regex": regex, + "target_label": "service_name", + "replacement": f"{replacement}", + } + ]) + + +if __name__ == "__main__": + main() diff --git a/docker/prometheus/start.sh b/docker/prometheus/start.sh new file mode 100644 index 0000000000..d21a1113ac --- /dev/null +++ b/docker/prometheus/start.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -e + +python3 ./init.py + + +# run with server mode +/bin/prometheus \ + --config.file=/etc/prometheus/prometheus.yml \ + --storage.tsdb.path=/mnt/task/prometheus-data \ + --web.external-url= \ + --web.page-title="DEV-NET CORE Prometheus" \ + --web.enable-lifecycle \ + --web.enable-admin-api \ + --storage.tsdb.retention.time=30d diff --git a/docker/telemetry-user/grafana/datasources.yml b/docker/telemetry-user/grafana/datasources.yml new file mode 100644 index 0000000000..16728300af --- /dev/null +++ b/docker/telemetry-user/grafana/datasources.yml @@ -0,0 +1,14 @@ +# NOTE: A specific UID is used to match the production environment's datasource UID +# to enable seamless dashboard import/export. + +apiVersion: 1 + +datasources: + - name: prometheus + type: prometheus + access: proxy + uid: eed8s4geh3myob + url: http://prometheus.citrea:9090 + isDefault: true + readOnly: false + editable: true \ No newline at end of file diff --git a/docker/telemetry-user/prometheus.yml b/docker/telemetry-user/prometheus.yml new file mode 100644 index 0000000000..2305c50cbd --- /dev/null +++ b/docker/telemetry-user/prometheus.yml @@ -0,0 +1,21 @@ +global: + scrape_interval: 1s +scrape_configs: + - job_name: 'prometheus' + static_configs: + - targets: ['localhost:9090'] + - job_name: 'cadvisor' + static_configs: + - targets: ['cadvisor:8080'] + - job_name: 'sequencer' + static_configs: + - targets: ['host.docker.internal:8001'] + - job_name: 'fullnode' + static_configs: + - targets: ['host.docker.internal:8002'] + - job_name: 'batch-prover' + static_configs: + - targets: ['host.docker.internal:8003'] + - job_name: 'light-client' + static_configs: + - targets: ['host.docker.internal:8004'] \ No newline at end of file diff --git a/docker/telemetry/grafana/datasources.yml b/docker/telemetry/grafana/datasources.yml new file mode 100644 index 0000000000..16728300af --- /dev/null +++ b/docker/telemetry/grafana/datasources.yml @@ -0,0 +1,14 @@ +# NOTE: A specific UID is used to match the production environment's datasource UID +# to enable seamless dashboard import/export. + +apiVersion: 1 + +datasources: + - name: prometheus + type: prometheus + access: proxy + uid: eed8s4geh3myob + url: http://prometheus.citrea:9090 + isDefault: true + readOnly: false + editable: true \ No newline at end of file diff --git a/docker/telemetry/prometheus.yml b/docker/telemetry/prometheus.yml index 680f426441..093cb47017 100644 --- a/docker/telemetry/prometheus.yml +++ b/docker/telemetry/prometheus.yml @@ -1,22 +1,203 @@ global: - scrape_interval: 1s - + evaluation_interval: 15s + scrape_interval: 15s scrape_configs: - - job_name: 'prometheus' - static_configs: - - targets: ['localhost:9090'] - - job_name: 'cadvisor' - static_configs: - - targets: ['cadvisor:8080'] - - job_name: 'sequencer' - static_configs: - - targets: ['host.docker.internal:8001'] - - job_name: 'fullnode' - static_configs: - - targets: ['host.docker.internal:8002'] - - job_name: 'batch-prover' - static_configs: - - targets: ['host.docker.internal:8003'] - - job_name: 'light-client' - static_configs: - - targets: ['host.docker.internal:8004'] +- job_name: prometheus + relabel_configs: + - replacement: dev-net + source_labels: + - __address__ + target_label: net_name + - replacement: core + source_labels: + - __address__ + target_label: env_name + - regex: .* + replacement: dnc-prometheus + source_labels: + - __address__ + target_label: instance + - regex: .* + replacement: prometheus + source_labels: + - __address__ + target_label: service_name + static_configs: + - targets: + - 127.0.0.1:9090 +- job_name: citrea-full-node + relabel_configs: + - replacement: dev-net + source_labels: + - __address__ + target_label: net_name + - replacement: core + source_labels: + - __address__ + target_label: env_name + - regex: (.*)\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: (.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + scrape_interval: 1s + static_configs: + - targets: + - host.docker.internal:8002 +- job_name: citrea-light-prover + relabel_configs: + - replacement: dev-net + source_labels: + - __address__ + target_label: net_name + - replacement: core + source_labels: + - __address__ + target_label: env_name + - regex: (.*)\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: (.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + scrape_interval: 1s + static_configs: + - targets: + - host.docker.internal:8004 +- job_name: citrea-prover + relabel_configs: + - replacement: dev-net + source_labels: + - __address__ + target_label: net_name + - replacement: core + source_labels: + - __address__ + target_label: env_name + - regex: (.*)\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: (.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + scrape_interval: 1s + static_configs: + - targets: + - host.docker.internal:8003 +- job_name: citrea-sequencer + relabel_configs: + - replacement: dev-net + source_labels: + - __address__ + target_label: net_name + - replacement: core + source_labels: + - __address__ + target_label: env_name + - regex: (.*)\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: (.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: (.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: dnc-$1 + source_labels: + - __address__ + target_label: instance + - regex: core-dev-net-(.*)\.citrea\.?:.* + replacement: $1 + source_labels: + - __address__ + target_label: service_name + scrape_interval: 1s + static_configs: + - targets: + - host.docker.internal:8001 diff --git a/resources/grafana/prod/batch-prover.dashboard.json b/resources/grafana/prod/batch-prover.dashboard.json new file mode 100644 index 0000000000..c144838ad7 --- /dev/null +++ b/resources/grafana/prod/batch-prover.dashboard.json @@ -0,0 +1,1262 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 490, + "links": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 1, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "L2 Block", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_current_l1_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "L1 Block", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Current L2 and L1 Block", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 3, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_process_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Process L2 Block Duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "description": "Ongoing Proof Count", + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "id": 9, + "interval": "1s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "parallel_prover_service_ongoing_proving_jobs{service_name=\"citrea-prover\", net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Ongoing Proving jobs", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "proving_session_cycle_count{service_name=\"citrea-prover\", net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Proving Cycle Counts", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_state_log_cache_size{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "State Log Cache Size", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "complete_mine_da_transaction{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Complete Tx Mine Duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 11, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_total_input_preparation_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Total Input Preparation Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_cumulative_witness_generation_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Cumulative Witness Generation Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 12, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "bitcoin_da_transaction_queue_size{net_name=\"$net_name\", job=\"citrea-prover\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Bitcoin DA Transaction Queue Current Size", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "parallel_prover_service_proof_count_waiting_in_queue{net_name=\"$net_name\", job=\"citrea-prover\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Proof Count In Queue", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "batch_prover_offchain_log_cache_size{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Offchain Log Cache Size", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "chunked_mine_da_transaction{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Chunked Tx Mine Duration", + "type": "timeseries" + } + ], + "preload": false, + "schemaVersion": 40, + "tags": [], + "templating": { + "list": [ + { + "allowCustomValue": false, + "current": { + "text": "main-net", + "value": "main-net" + }, + "label": "Net Name", + "name": "net_name", + "options": [ + { + "selected": false, + "text": "test-net", + "value": "test-net" + }, + { + "selected": false, + "text": "dev-net", + "value": "dev-net" + }, + { + "selected": true, + "text": "main-net", + "value": "main-net" + } + ], + "query": "test-net,dev-net,main-net", + "type": "custom" + } + ] + }, + "time": { + "from": "now-3h", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "New Batch Prover Dashboard", + "uid": "45a999c0-a3b8-4eaa-849e-9e43b90e0925", + "version": 12, + "weekStart": "" +} \ No newline at end of file diff --git a/resources/grafana/prod/fullnode.dashboard.json b/resources/grafana/prod/fullnode.dashboard.json new file mode 100644 index 0000000000..ac45c0a9e3 --- /dev/null +++ b/resources/grafana/prod/fullnode.dashboard.json @@ -0,0 +1,986 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 0, + "links": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 3, + "interval": "1s", + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eesojxal9f11cb" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "fullnode_current_l2_block{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Current L2 Block", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eesojxal9f11cb" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "fullnode_current_l1_block{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Current L1 Block", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Current L1 and L2 Block", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 2, + "interval": "1s", + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "fullnode_highest_committed_index{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "Highest Committed Index", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "bes3v6ugacbnkd" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "fullnode_highest_committed_l2_height{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Highest Committed L2 Height", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "bes3v6ugacbnkd" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "fullnode_highest_proven_l2_height{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Highest Proven L2 Height", + "range": true, + "refId": "C", + "useBackend": false + } + ], + "title": "Highest Committed Index, L2 Height, Proven L2 Height", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "id": 10, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rate(rpc_requests_total{net_name=\"$net_name\", env_name=\"$env_name\", job=\"citrea-full-node\"}[5m])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Per-second average rate of RPC requests over the last 5 minutes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "id": 4, + "interval": "1s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "fullnode_current_l1_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "fullnode_scan_l1_block_duration_secs" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "bes3v6ugacbnkd" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "fullnode_current_l1_block{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "disableTextWrap": false, + "editorMode": "builder", + "expr": "fullnode_scan_l1_block_duration_secs{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Scan L1 Block Time By L1 Height", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "code", + "expr": "rpc_response_time_seconds{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Rpc Response Times", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "id": 9, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "code", + "expr": "fullnode_process_l2_block{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Process L2 Block Duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "code", + "expr": "fullnode_l2_block_size{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "L2 Block Size Bytes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "code", + "expr": "fullnode_batch_proof_processing_time{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Batch Proof Processing Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "disableTextWrap": false, + "editorMode": "code", + "expr": "fullnode_sequencer_commitment_processing_time{net_name=\"$net_name\", env_name=\"$env_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Commitment Processing Time", + "type": "timeseries" + } + ], + "preload": false, + "schemaVersion": 42, + "tags": [], + "templating": { + "list": [ + { + "allowCustomValue": false, + "current": { + "text": "core", + "value": "core" + }, + "definition": "label_values({net_name=\"$net_name\", job=\"citrea-full-node\"},env_name)", + "label": "Env Name", + "name": "env_name", + "options": [], + "query": { + "qryType": 1, + "query": "label_values({net_name=\"$net_name\", job=\"citrea-full-node\"},env_name)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "sort": 5, + "type": "query" + }, + { + "allowCustomValue": false, + "current": { + "text": "dev-net", + "value": "dev-net" + }, + "label": "Net Name", + "name": "net_name", + "options": [ + { + "selected": false, + "text": "test-net", + "value": "test-net" + }, + { + "selected": true, + "text": "dev-net", + "value": "dev-net" + }, + { + "selected": false, + "text": "main-net", + "value": "main-net" + } + ], + "query": "test-net,dev-net,main-net\n", + "type": "custom" + } + ] + }, + "time": { + "from": "now-6h", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "Import From Prod New Full Node Dashboard", + "uid": "146a0ace-198d-4cf1-b537-46b24ad05d4b1", + "version": 2 +} \ No newline at end of file diff --git a/resources/grafana/light-client.dashboard.json b/resources/grafana/prod/light-client.dashboard.json similarity index 88% rename from resources/grafana/light-client.dashboard.json rename to resources/grafana/prod/light-client.dashboard.json index cc60b7220e..20dba5b600 100644 --- a/resources/grafana/light-client.dashboard.json +++ b/resources/grafana/prod/light-client.dashboard.json @@ -18,13 +18,13 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 8, + "id": 491, "links": [], "panels": [ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -37,7 +37,7 @@ "steps": [ { "color": "green", - "value": 0 + "value": null } ] } @@ -66,16 +66,16 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.1.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "light_client_prover_current_l1_block", + "editorMode": "code", + "expr": "light_client_prover_current_l1_block{net_name=\"$net_name\"}", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -90,7 +90,7 @@ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -136,7 +136,7 @@ "steps": [ { "color": "green", - "value": 0 + "value": null }, { "color": "red", @@ -167,16 +167,16 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "light_client_prover_proving_time", + "editorMode": "code", + "expr": "light_client_prover_proving_time{net_name=\"$net_name\"}", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -191,7 +191,7 @@ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -226,7 +226,7 @@ "steps": [ { "color": "green", - "value": 0 + "value": null }, { "color": "red", @@ -241,7 +241,7 @@ "h": 8, "w": 12, "x": 0, - "y": 16 + "y": 8 }, "id": 3, "interval": "1s", @@ -275,16 +275,16 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "light_client_prover_current_l1_block", + "expr": "light_client_prover_current_l1_block{net_name=\"$net_name\"}", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -295,11 +295,11 @@ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "light_client_prover_scan_l1_block_duration_secs", + "expr": "light_client_prover_scan_l1_block_duration_secs{net_name=\"$net_name\"}", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, @@ -319,10 +319,10 @@ ], "type": "xychart" }, - { + { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -368,7 +368,7 @@ "steps": [ { "color": "green", - "value": 0 + "value": null }, { "color": "red", @@ -399,16 +399,16 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "proving_session_cycle_count", + "editorMode": "code", + "expr": "proving_session_cycle_count{job=\"citrea-light-prover\",net_name=\"$net_name\"}", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -423,7 +423,93 @@ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 6, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "light_client_prover_highest_proven_index{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "Commitment index", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "exemplar": false, + "expr": "light_client_prover_highest_proven_l2_height{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "L2 height", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Proven L2 height and commitment index", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -469,7 +555,7 @@ "steps": [ { "color": "green", - "value": 0 + "value": null }, { "color": "red", @@ -483,8 +569,8 @@ "gridPos": { "h": 8, "w": 12, - "x": 12, - "y": 16 + "x": 0, + "y": 24 }, "id": 5, "options": { @@ -500,16 +586,16 @@ "sort": "none" } }, - "pluginVersion": "12.1.1", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "eeycninjxliwwb" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "light_client_prover_rpc_response_time{job=\"citrea-light-prover\"}", + "editorMode": "code", + "expr": "light_client_prover_rpc_response_time{job=\"citrea-light-prover\",net_name=\"$net_name\"}", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -520,110 +606,24 @@ ], "title": "Rpc Response Times", "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "eeycninjxliwwb" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": 0 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 8 - }, - "id": 6, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.1.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "eeycninjxliwwb" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "light_client_prover_highest_proven_index", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Commitment index", - "range": true, - "refId": "A", - "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "eeycninjxliwwb" - }, - "disableTextWrap": false, - "editorMode": "builder", - "exemplar": false, - "expr": "light_client_prover_highest_proven_l2_height", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "L2 height", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Proven L2 height and commitment index", - "type": "stat" } ], "preload": false, - "schemaVersion": 41, + "schemaVersion": 40, "tags": [], "templating": { "list": [ { "allowCustomValue": false, "current": { - "text": "test-net", - "value": "test-net" + "text": "main-net", + "value": "main-net" }, "label": "Net Name", "name": "net_name", "options": [ { - "selected": true, + "selected": false, "text": "test-net", "value": "test-net" }, @@ -633,7 +633,7 @@ "value": "dev-net" }, { - "selected": false, + "selected": true, "text": "main-net", "value": "main-net" } @@ -644,12 +644,13 @@ ] }, "time": { - "from": "now-15m", + "from": "now-5m", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "New Light Client Prover Dashboard", - "uid": "2364282f-fe43-4718-b561-6dc2c0c771ee", - "version": 11 + "uid": "2364282f-fe43-4718-b561-6dc2c0c7715b", + "version": 9, + "weekStart": "" } \ No newline at end of file diff --git a/resources/grafana/prod/sequencer.dashboard.json b/resources/grafana/prod/sequencer.dashboard.json new file mode 100644 index 0000000000..b5be27e2af --- /dev/null +++ b/resources/grafana/prod/sequencer.dashboard.json @@ -0,0 +1,3387 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 2, + "links": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 4, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Current L2 Block", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 3, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l1_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Current L1 Block", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "id": 31, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rate(sequencer_deposit_data_mempool_txs_inc{net_name=\"$net_name\"}[1m])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Num Of Deposit Txs In A Minute", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "id": 5, + "options": { + "colorMode": "value", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "transaction_pool_total_transactions{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Number Of Txs In Mempool", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 37, + "interval": "2s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rate(rpc_requests_total{net_name=\"$net_name\", job=\"citrea-sequencer\"}[5m])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Per-second average rate of RPC requests over the last 5 minutes", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "id": 27, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "rpc_response_time_seconds{net_name=\"$net_name\", job=\"citrea-sequencer\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Rpc Response Times", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.7, + "drawStyle": "line", + "fillOpacity": 46, + "gradientMode": "hue", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 3, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 22, + "interval": "2s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "sequencer_current_l2_block" + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_dry_run_preparation_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "D", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_dry_run_system_txs_duration_secs{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "E", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_dry_run_execution_gauge{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "F", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_begin_l2_block_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "G", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_encode_and_sign_sov_tx_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "H", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_apply_l2_block_txs_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "I", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_end_l2_block_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "J", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_finalize_l2_block_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "K", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_calculate_tx_merkle_root_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_sign_l2_block_header_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "L", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_save_l2_block_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "M", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_maintain_mempool_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "C", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "sequencer_mempool_extract_bundle_state_time{net_name=\"$net_name\"}", + "hide": false, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "N" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "sequencer_mempool_canonical_notification_time{net_name=\"$net_name\"}", + "hide": false, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "O" + } + ], + "title": "Stacked Sequencer Block Production Flow", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "trend" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 24, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_current_l2_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "evm_block_base_fee" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "evm_block_base_fee{net_name=\"$net_name\", env_name=\"core\", job=\"citrea-sequencer\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\", env_name=\"core\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Base Fee Per Block Number", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "id": 23, + "interval": "2s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_current_l2_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "evm_block_gas_usage" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "evm_block_gas_usage{net_name=\"$net_name\", job=\"citrea-sequencer\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Evm Gas Usage Per Block Num", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "id": 33, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_unaccepted_deposit_txs{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Unaccepted Deposit Txs", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 40 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_block_production_execution{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Complete Produce L2 Block", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 21, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_dry_run_execution{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Total Dry Run Execution Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 48 + }, + "id": 25, + "interval": "1s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_current_l2_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "sequencer_l1_fee_rate" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\", job=\"citrea-sequencer\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_l1_fee_rate{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "L1 Fee Rate Per Block", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 48 + }, + "id": 36, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + {} + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_l1_fee_failed_txs_count{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "L1 Fee Failed Txs Count By Block Number", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 56 + }, + "id": 26, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_commitment_mine_da_transaction{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Mine Sequencer Commitment Tx Duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 56 + }, + "id": 28, + "interval": "1s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "rate(transaction_pool_inserted_transactions{net_name=\"$net_name\"}[1m])", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Number of txs coming to the mempool in the last minute", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "description": "This does not work perfect in scenarios where there are over couple hundered missed DA blocks, and new l2 blocks are produced for every 10 L1 block instantly", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 100, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 64 + }, + "id": 2, + "interval": "1", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_current_l2_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "sequencer_l2_block_tx_count" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_l2_block_tx_count{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Tx Count By Block Number", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 64 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "bitcoin_da_transaction_queue_processing_time{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Bitcoin DA Queue Processing Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 72 + }, + "id": 35, + "interval": "2s", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_index{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "Latest Commitment Index", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_l2_start_height{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Latest Commitment Start L2 Height", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_l2_end_height{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Latest Commitment End L2 Height", + "range": true, + "refId": "C", + "useBackend": false + } + ], + "title": "Latest Commitment Data", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 72 + }, + "id": 29, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_deposit_data_mempool_txs{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Number of txs in deposit data mempool", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 80 + }, + "id": 34, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_latest_sequencer_commitment_index" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "sequencer_latest_sequencer_commitment_process_duration_secs" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_latest_sequencer_commitment_index{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_process_duration_secs{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "D", + "useBackend": false + } + ], + "title": "Commitment Process Duration By Index", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "description": "Complete Block Production Time(secs) By Block Num", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 21, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 3, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "fieldMinMax": true, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.001 + }, + { + "color": "red", + "value": 120000 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 80 + }, + "id": 1, + "interval": "2s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + }, + "xField": "sequencer_current_l2_block" + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l2_block{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_no_dry_run_block_production_duration_secs{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "No Dry Run Block Production Time(secs) By Block Num", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "Time", + "mode": "outer" + } + } + ], + "type": "trend" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "description": "The duration eth_call for deposit txs", + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 88 + }, + "id": 30, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_deposit_tx_call_duration", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Deposit Tx Call Duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 88 + }, + "id": 8, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "frame": { + "matcher": { + "id": "byIndex", + "options": 0 + } + }, + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_currently_committing_index" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "sequencer_commitment_blocks_count" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_currently_committing_index{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_commitment_blocks_count{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Commitment Block Count By Index", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 96 + }, + "id": 32, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_deposit_tx_size{net_name=\"$net_name\"}", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Deposit Tx Size", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "bytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Pending Pool Size" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Basefee Pool Size" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Queued Pool Size" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 96 + }, + "id": 38, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "transaction_pool_pending_pool_size_bytes", + "legendFormat": "Pending Pool Size", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "transaction_pool_basefee_pool_size_bytes", + "legendFormat": "Basefee Pool Size", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "transaction_pool_queued_pool_size_bytes", + "legendFormat": "Queued Pool Size", + "range": true, + "refId": "C" + } + ], + "title": "Stacked Mempool Size (Bytes)", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 50, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Pending Pool" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "green", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Basefee Pool" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Queued Pool" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "orange", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 104 + }, + "id": 39, + "options": { + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "transaction_pool_pending_pool_transactions", + "legendFormat": "Pending Pool", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "transaction_pool_basefee_pool_transactions", + "legendFormat": "Basefee Pool", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "transaction_pool_queued_pool_transactions", + "legendFormat": "Queued Pool", + "range": true, + "refId": "C" + } + ], + "title": "Stacked Mempool Transaction Types", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 104 + }, + "id": 40, + "options": { + "legend": { + "calcs": [ + "lastNotNull", + "mean" + ], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "rate(transaction_pool_inserted_transactions[1m])", + "legendFormat": "Inserted Transactions/sec", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "editorMode": "code", + "expr": "rate(transaction_pool_removed_transactions[1m])", + "legendFormat": "Removed Transactions/sec", + "range": true, + "refId": "B" + } + ], + "title": "Mempool Transaction Flow (per minute)", + "type": "timeseries" + } + ], + "preload": false, + "refresh": "5s", + "schemaVersion": 42, + "tags": [], + "templating": { + "list": [ + { + "allowCustomValue": false, + "current": { + "text": "dev-net", + "value": "dev-net" + }, + "description": "", + "label": "Net Name", + "name": "net_name", + "options": [ + { + "selected": true, + "text": "dev-net", + "value": "dev-net" + }, + { + "selected": false, + "text": "test-net", + "value": "test-net" + }, + { + "selected": false, + "text": "main-net", + "value": "main-net" + } + ], + "query": "dev-net,test-net,main-net", + "type": "custom" + } + ] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "New Sequencer Dashboard", + "uid": "d1faed80-531c-4c31-bd06-acc46d388c84", + "version": 21 +} \ No newline at end of file diff --git a/resources/grafana/remove_labels.py b/resources/grafana/remove_labels.py new file mode 100644 index 0000000000..300248bdea --- /dev/null +++ b/resources/grafana/remove_labels.py @@ -0,0 +1,74 @@ +''' +Use to remove specific label selectors and variables from Grafana dashboards. +After updating a prod dashboard run this on the updated file to create a user dashboard. +Usage: +python /remove_labels.py resources/grafana/prod/.dashboard.json > resources/grafana/user/.dashboard.json +''' + +import json +import re +import sys +from copy import deepcopy + +LABEL_SELECTOR_REGEX = re.compile(r'([a-zA-Z_:][a-zA-Z0-9_:]*)\s*\{[^}]*\}') + + +def strip_label_selectors(expr: str) -> str: + """ + Remove all PromQL label selectors from a query string. + + Examples: + sequencer_current_l2_block{net_name="$net_name"} -> sequencer_current_l2_block + rate(foo_bar{job="x",net_name="$net_name"}[1m]) -> rate(foo_bar[1m]) + foo{a="1"} + bar{b="2"} -> foo + bar + """ + if not isinstance(expr, str): + return expr + + previous = None + current = expr + # Run until no more replacements (handles multiple metrics in same expr) + while previous != current: + previous = current + current = LABEL_SELECTOR_REGEX.sub(r"\1", current) + return current + + +def process_dashboard(dashboard: dict) -> dict: + db = deepcopy(dashboard) + + # Strip label filters from all targets.expr + panels = db.get("panels", []) + for panel in panels: + targets = panel.get("targets", []) + for t in targets: + expr = t.get("expr") + if expr: + t["expr"] = strip_label_selectors(expr) + + # Remove "net_name" and "env_name" variable from templating.list + templating = db.get("templating", {}) + variables = templating.get("list", []) + templating["list"] = [ + v for v in variables if v.get("name") not in ("net_name", "env_name") + ] + db["templating"] = templating + + return db + + +def main(): + if len(sys.argv) != 2: + print(f"Usage: {sys.argv[0]} ", file=sys.stderr) + sys.exit(1) + + in_path = sys.argv[1] + with open(in_path, "r", encoding="utf-8") as f: + dashboard = json.load(f) + + cleaned = process_dashboard(dashboard) + json.dump(cleaned, sys.stdout, ensure_ascii=False, indent=2) + + +if __name__ == "__main__": + main() diff --git a/resources/grafana/batch-prover.dashboard.json b/resources/grafana/user/batch-prover.dashboard.json similarity index 82% rename from resources/grafana/batch-prover.dashboard.json rename to resources/grafana/user/batch-prover.dashboard.json index 7a442e54a6..e3eff70e2c 100644 --- a/resources/grafana/batch-prover.dashboard.json +++ b/resources/grafana/user/batch-prover.dashboard.json @@ -1,41 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "gauge", - "name": "Gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "12.0.1+security-01" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - } - ], "annotations": { "list": [ { @@ -55,13 +18,13 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": null, + "id": 490, "links": [], "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -73,7 +36,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] } @@ -102,15 +66,15 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "batch_prover_current_l2_block", "fullMetaSearch": false, "includeNullMetadata": true, @@ -122,10 +86,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "batch_prover_current_l1_block", "fullMetaSearch": false, "hide": false, @@ -143,7 +107,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -188,7 +152,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -219,22 +184,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "batch_prover_process_l2_block", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Process L2 Block Duration", @@ -243,7 +208,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "description": "Ongoing Proof Count", "fieldConfig": { @@ -289,7 +254,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -321,22 +287,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "builder", - "expr": "parallel_prover_service_ongoing_proving_jobs{job=\"batch-prover\"}", + "expr": "parallel_prover_service_ongoing_proving_jobs", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Ongoing Proving jobs", @@ -345,7 +311,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -390,7 +356,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -421,22 +388,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "builder", - "expr": "proving_session_cycle_count{job=\"batch-prover\"}", + "expr": "proving_session_cycle_count", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Proving Cycle Counts", @@ -445,7 +412,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -490,7 +457,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -521,22 +489,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "batch_prover_state_log_cache_size", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "State Log Cache Size", @@ -545,7 +513,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -590,7 +558,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -621,22 +590,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "builder", - "expr": "type_0_mine_da_transaction", + "expr": "complete_mine_da_transaction", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Complete Tx Mine Duration", @@ -645,7 +614,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -690,7 +659,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -721,22 +691,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "batch_prover_total_input_preparation_time", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Total Input Preparation Time", @@ -745,7 +715,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -790,7 +760,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -821,22 +792,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "batch_prover_cumulative_witness_generation_time", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Cumulative Witness Generation Time", @@ -845,7 +816,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -890,7 +861,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -907,7 +879,7 @@ "x": 0, "y": 32 }, - "id": 6, + "id": 12, "options": { "legend": { "calcs": [], @@ -921,31 +893,27 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { "disableTextWrap": false, "editorMode": "builder", - "expr": "batch_prover_offchain_log_cache_size", + "expr": "bitcoin_da_transaction_queue_size", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], - "title": "Offchain Log Cache Size", + "title": "Bitcoin DA Transaction Queue Current Size", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -990,7 +958,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1021,9 +990,13 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "builder", "expr": "parallel_prover_service_proof_count_waiting_in_queue", @@ -1032,11 +1005,7 @@ "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Proof Count In Queue", @@ -1045,7 +1014,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1090,7 +1059,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null }, { "color": "red", @@ -1107,7 +1077,7 @@ "x": 0, "y": 40 }, - "id": 5, + "id": 6, "options": { "legend": { "calcs": [], @@ -1121,41 +1091,143 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "11.5.1", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "code", - "expr": "type_1_mine_da_transaction", + "expr": "batch_prover_offchain_log_cache_size", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, + "useBackend": false + } + ], + "title": "Offchain Log Cache Size", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "chunked_mine_da_transaction", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false } ], "title": "Chunked Tx Mine Duration", "type": "timeseries" } ], - "schemaVersion": 41, + "preload": false, + "schemaVersion": 40, "tags": [], "templating": { "list": [] }, "time": { - "from": "now-5m", + "from": "now-3h", "to": "now" }, "timepicker": {}, "timezone": "browser", - "title": "Batch Prover Dashboard", + "title": "New Batch Prover Dashboard", "uid": "45a999c0-a3b8-4eaa-849e-9e43b90e0925", - "version": 3, + "version": 12, "weekStart": "" } \ No newline at end of file diff --git a/resources/grafana/fullnode.dashboard.json b/resources/grafana/user/fullnode.dashboard.json similarity index 85% rename from resources/grafana/fullnode.dashboard.json rename to resources/grafana/user/fullnode.dashboard.json index 8aed35c283..ea3f3bacbf 100644 --- a/resources/grafana/fullnode.dashboard.json +++ b/resources/grafana/user/fullnode.dashboard.json @@ -18,13 +18,13 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 1, + "id": 0, "links": [], "panels": [ { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -36,7 +36,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] } @@ -66,7 +67,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { @@ -74,7 +75,7 @@ "uid": "eesojxal9f11cb" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "fullnode_current_l2_block", "fullMetaSearch": false, "hide": false, @@ -91,7 +92,7 @@ "uid": "eesojxal9f11cb" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "fullnode_current_l1_block", "fullMetaSearch": false, "includeNullMetadata": true, @@ -108,7 +109,7 @@ { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -120,7 +121,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] } @@ -150,7 +152,7 @@ "showThresholdMarkers": true, "sizing": "auto" }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "disableTextWrap": false, @@ -204,7 +206,7 @@ { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -235,6 +237,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -249,7 +252,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -266,7 +270,7 @@ "x": 0, "y": 8 }, - "id": 8, + "id": 10, "options": { "legend": { "calcs": [], @@ -280,12 +284,12 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "disableTextWrap": false, "editorMode": "builder", - "expr": "full_node_rpc_response_time", + "expr": "rate(rpc_requests_total[5m])", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -294,13 +298,13 @@ "useBackend": false } ], - "title": "Rpc Response Times", + "title": "Per-second average rate of RPC requests over the last 5 minutes", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -334,7 +338,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -366,13 +371,13 @@ "x": { "matcher": { "id": "byName", - "options": "{__name__=\"fullnode_current_l1_block\", instance=\"host.docker.internal:8002\", job=\"fullnode\"}" + "options": "fullnode_current_l1_block" } }, "y": { "matcher": { "id": "byName", - "options": "{__name__=\"fullnode_scan_l1_block\", instance=\"host.docker.internal:8002\", job=\"fullnode\"}" + "options": "fullnode_scan_l1_block_duration_secs" } } } @@ -383,7 +388,7 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { @@ -405,7 +410,7 @@ { "disableTextWrap": false, "editorMode": "builder", - "expr": "fullnode_scan_l1_block", + "expr": "fullnode_scan_l1_block_duration_secs", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -426,7 +431,7 @@ { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -457,6 +462,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -471,7 +477,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -488,7 +495,7 @@ "x": 0, "y": 16 }, - "id": 7, + "id": 8, "options": { "legend": { "calcs": [], @@ -502,12 +509,12 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "disableTextWrap": false, - "editorMode": "builder", - "expr": "fullnode_sequencer_commitment_processing_time", + "editorMode": "code", + "expr": "rpc_response_time_seconds", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -516,13 +523,13 @@ "useBackend": false } ], - "title": "Commitment Processing Time", + "title": "Rpc Response Times", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -553,6 +560,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -567,7 +575,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -598,11 +607,11 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "fullnode_process_l2_block", "fullMetaSearch": false, "includeNullMetadata": true, @@ -618,7 +627,7 @@ { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -649,6 +658,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -663,7 +673,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -680,7 +691,7 @@ "x": 0, "y": 24 }, - "id": 6, + "id": 5, "options": { "legend": { "calcs": [], @@ -694,12 +705,12 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "disableTextWrap": false, - "editorMode": "builder", - "expr": "fullnode_batch_proof_processing_time", + "editorMode": "code", + "expr": "fullnode_l2_block_size", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -708,13 +719,13 @@ "useBackend": false } ], - "title": "Batch Proof Processing Time", + "title": "L2 Block Size Bytes", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -727,28 +738,41 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "fillOpacity": 50, + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "pointShape": "circle", - "pointSize": { - "fixed": 5 - }, - "pointStrokeWidth": 1, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "show": "points+lines" + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -765,8 +789,7 @@ "x": 12, "y": 24 }, - "id": 1, - "interval": "1s", + "id": 6, "options": { "legend": { "calcs": [], @@ -774,77 +797,33 @@ "placement": "bottom", "showLegend": true }, - "mapping": "auto", - "series": [ - { - "x": { - "matcher": { - "id": "byName", - "options": "{__name__=\"fullnode_current_l2_block\", instance=\"host.docker.internal:8002\", job=\"fullnode\"}" - } - }, - "y": { - "matcher": { - "id": "byName", - "options": "{__name__=\"fullnode_l2_block_size\", instance=\"host.docker.internal:8002\", job=\"fullnode\", quantile=\"0.0\"}" - } - } - } - ], "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "bes3v6ugacbnkd" - }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "fullnode_l2_block_size", + "editorMode": "code", + "expr": "fullnode_batch_proof_processing_time", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "bes3v6ugacbnkd" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "fullnode_current_l2_block", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Block Size Per Block Num", - "transformations": [ - { - "id": "joinByField", - "options": {} } ], - "type": "xychart" + "title": "Batch Proof Processing Time", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "eesojxal9f11cb" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -875,6 +854,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -889,7 +869,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -903,10 +884,10 @@ "gridPos": { "h": 8, "w": 12, - "x": 12, + "x": 0, "y": 32 }, - "id": 5, + "id": 7, "options": { "legend": { "calcs": [], @@ -920,12 +901,12 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "disableTextWrap": false, - "editorMode": "builder", - "expr": "fullnode_l2_block_size", + "editorMode": "code", + "expr": "fullnode_sequencer_commitment_processing_time", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -934,23 +915,23 @@ "useBackend": false } ], - "title": "L2 Block Size Bytes", + "title": "Commitment Processing Time", "type": "timeseries" } ], "preload": false, - "schemaVersion": 41, + "schemaVersion": 42, "tags": [], "templating": { "list": [] }, "time": { - "from": "now-5m", + "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "browser", - "title": "Full Node Dashboard", - "uid": "146a0ace-198d-4cf1-b537-46b24ad05d4b", - "version": 4 + "title": "Import From Prod New Full Node Dashboard", + "uid": "146a0ace-198d-4cf1-b537-46b24ad05d4b1", + "version": 2 } \ No newline at end of file diff --git a/resources/grafana/user/light-client.dashboard.json b/resources/grafana/user/light-client.dashboard.json new file mode 100644 index 0000000000..a01b6c0c5c --- /dev/null +++ b/resources/grafana/user/light-client.dashboard.json @@ -0,0 +1,627 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 491, + "links": [], + "panels": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 1, + "options": { + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "light_client_prover_current_l1_block", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Current L1 Block", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 2, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "light_client_prover_proving_time", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Proving Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "id": 3, + "interval": "1s", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "light_client_prover_current_l1_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "light_client_prover_scan_l1_block_duration_secs" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "light_client_prover_current_l1_block", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "light_client_prover_scan_l1_block_duration_secs", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Scan L1 Block Duration", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "id": 4, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "proving_session_cycle_count", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Cycle Counts", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "id": 6, + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "light_client_prover_highest_proven_index", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "Commitment index", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "exemplar": false, + "expr": "light_client_prover_highest_proven_l2_height", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "L2 height", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "Proven L2 height and commitment index", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "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": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.5.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "light_client_prover_rpc_response_time", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Rpc Response Times", + "type": "timeseries" + } + ], + "preload": false, + "schemaVersion": 40, + "tags": [], + "templating": { + "list": [] + }, + "time": { + "from": "now-5m", + "to": "now" + }, + "timepicker": {}, + "timezone": "browser", + "title": "New Light Client Prover Dashboard", + "uid": "2364282f-fe43-4718-b561-6dc2c0c7715b", + "version": 9, + "weekStart": "" +} \ No newline at end of file diff --git a/resources/grafana/sequencer.dashboard.json b/resources/grafana/user/sequencer.dashboard.json similarity index 87% rename from resources/grafana/sequencer.dashboard.json rename to resources/grafana/user/sequencer.dashboard.json index 18206fee42..a3c56e3dfb 100644 --- a/resources/grafana/sequencer.dashboard.json +++ b/resources/grafana/user/sequencer.dashboard.json @@ -1,59 +1,4 @@ { - "__inputs": [ - { - "name": "DS_PROMETHEUS", - "label": "prometheus", - "description": "", - "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" - } - ], - "__elements": {}, - "__requires": [ - { - "type": "panel", - "id": "gauge", - "name": "Gauge", - "version": "" - }, - { - "type": "grafana", - "id": "grafana", - "name": "Grafana", - "version": "12.0.1+security-01" - }, - { - "type": "datasource", - "id": "prometheus", - "name": "Prometheus", - "version": "1.0.0" - }, - { - "type": "panel", - "id": "stat", - "name": "Stat", - "version": "" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" - }, - { - "type": "panel", - "id": "trend", - "name": "Trend", - "version": "" - }, - { - "type": "panel", - "id": "xychart", - "name": "XY Chart", - "version": "" - } - ], "annotations": { "list": [ { @@ -73,13 +18,13 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": null, + "id": 0, "links": [], "panels": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -91,7 +36,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] } @@ -122,12 +68,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -146,7 +92,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -158,7 +104,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] } @@ -189,12 +136,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -213,7 +160,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -244,6 +191,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -258,7 +206,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -289,22 +238,22 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "code", + "editorMode": "builder", "expr": "rate(sequencer_deposit_data_mempool_txs_inc[1m])", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], "title": "Num Of Deposit Txs In A Minute", @@ -313,7 +262,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -325,7 +274,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 } ] } @@ -356,12 +306,12 @@ "textMode": "auto", "wideLayout": true }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -380,9 +330,8 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, - "description": "The duration eth_call for deposit txs", "fieldConfig": { "defaults": { "color": { @@ -412,6 +361,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -426,7 +376,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -443,96 +394,8 @@ "x": 0, "y": 16 }, - "id": 30, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "12.0.1+security-01", - "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_deposit_tx_call_duration", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } - } - ], - "title": "Deposit Tx Call Duration", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "fillOpacity": 50, - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "pointShape": "circle", - "pointSize": { - "fixed": 5 - }, - "pointStrokeWidth": 1, - "scaleDistribution": { - "type": "linear" - }, - "show": "points+lines" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 16 - }, - "id": 24, + "id": 37, + "interval": "2s", "options": { "legend": { "calcs": [], @@ -540,77 +403,37 @@ "placement": "bottom", "showLegend": true }, - "mapping": "auto", - "series": [ - { - "x": { - "matcher": { - "id": "byName", - "options": "{__name__=\"sequencer_current_l2_block\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" - } - }, - "y": { - "matcher": { - "id": "byName", - "options": "{__name__=\"evm_block_base_fee\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" - } - } - } - ], "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "evm_block_base_fee", + "expr": "rate(rpc_requests_total[5m])", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_current_l2_block", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Base Fee Per Block Number", - "transformations": [ - { - "id": "joinByField", - "options": {} } ], - "type": "xychart" + "title": "Per-second average rate of RPC requests over the last 5 minutes", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -641,6 +464,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -655,7 +479,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -669,11 +494,10 @@ "gridPos": { "h": 8, "w": 12, - "x": 0, - "y": 24 + "x": 12, + "y": 16 }, - "id": 37, - "interval": "2s", + "id": 27, "options": { "legend": { "calcs": [], @@ -687,102 +511,31 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "code", - "expr": "rate(rpc_requests_total[5m])", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } - } - ], - "title": "Per-second average rate of RPC requests over the last 5 minutes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" + "uid": "eed8s4geh3myob" }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 24 - }, - "id": 33, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "percentChangeColorMode": "standard", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "12.0.1+security-01", - "targets": [ - { "disableTextWrap": false, "editorMode": "builder", - "expr": "sequencer_unaccepted_deposit_txs", + "expr": "rpc_response_time_seconds", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], - "title": "Unaccepted Deposit Txs", - "type": "stat" + "title": "Rpc Response Times", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -816,6 +569,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -830,7 +584,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -845,7 +600,7 @@ "h": 8, "w": 12, "x": 0, - "y": 32 + "y": 24 }, "id": 22, "interval": "2s", @@ -861,14 +616,14 @@ "mode": "single", "sort": "none" }, - "xField": "{__name__=\"sequencer_current_l2_block\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "xField": "sequencer_current_l2_block" }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -885,7 +640,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -902,10 +657,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_dry_run_system_txs_duration_secs", "fullMetaSearch": false, "hide": false, @@ -919,10 +674,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_dry_run_execution_gauge", "fullMetaSearch": false, "hide": false, @@ -936,10 +691,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_begin_l2_block_time", "fullMetaSearch": false, "hide": false, @@ -953,10 +708,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_encode_and_sign_sov_tx_time", "fullMetaSearch": false, "hide": false, @@ -970,10 +725,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_apply_l2_block_txs_time", "fullMetaSearch": false, "hide": false, @@ -987,10 +742,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_end_l2_block_time", "fullMetaSearch": false, "hide": false, @@ -1004,10 +759,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_finalize_l2_block_time", "fullMetaSearch": false, "hide": false, @@ -1021,10 +776,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_calculate_tx_merkle_root_time", "fullMetaSearch": false, "hide": false, @@ -1038,10 +793,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_sign_l2_block_header_time", "fullMetaSearch": false, "hide": false, @@ -1055,7 +810,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -1072,10 +827,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_maintain_mempool_time", "fullMetaSearch": false, "hide": false, @@ -1089,36 +844,28 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, - "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_mempool_extract_bundle_state_time", - "fullMetaSearch": false, "hide": false, - "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, - "refId": "N", - "useBackend": false + "refId": "N" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, - "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_mempool_canonical_notification_time", - "fullMetaSearch": false, "hide": false, - "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, - "refId": "O", - "useBackend": false + "refId": "O" } ], "title": "Stacked Sequencer Block Production Flow", @@ -1133,7 +880,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1146,39 +893,29 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", + "fillOpacity": 50, "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "show": "points+lines" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1193,9 +930,9 @@ "h": 8, "w": 12, "x": 12, - "y": 32 + "y": 24 }, - "id": 7, + "id": 24, "options": { "legend": { "calcs": [], @@ -1203,45 +940,116 @@ "placement": "bottom", "showLegend": true }, + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_current_l2_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "evm_block_base_fee" + } + } + } + ], "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, - "editorMode": "code", - "expr": "bitcoin_da_transaction_queue_processing_time", + "disableTextWrap": false, + "editorMode": "builder", + "expr": "evm_block_base_fee", + "fullMetaSearch": false, + "includeNullMetadata": true, "legendFormat": "__auto", "range": true, - "refId": "A" + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_current_l2_block", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false } ], - "title": "Bitcoin DA Queue Processing Time", - "type": "timeseries" + "title": "Base Fee Per Block Number", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { "color": { - "mode": "thresholds" + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "fillOpacity": 50, + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, + "scaleDistribution": { + "type": "linear" + }, + "show": "points+lines" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 } ] } @@ -1252,92 +1060,88 @@ "h": 8, "w": 12, "x": 0, - "y": 40 + "y": 32 }, - "id": 35, + "id": 23, "interval": "2s", "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 + "mapping": "auto", + "series": [ + { + "x": { + "matcher": { + "id": "byName", + "options": "sequencer_current_l2_block" + } + }, + "y": { + "matcher": { + "id": "byName", + "options": "evm_block_gas_usage" + } + } + } + ], + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_latest_sequencer_commitment_index", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "Latest Commitment Index", - "range": true, - "refId": "A", - "useBackend": false, "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sequencer_latest_sequencer_commitment_l2_start_height", + "expr": "evm_block_gas_usage", "fullMetaSearch": false, - "hide": false, "includeNullMetadata": true, - "instant": false, - "legendFormat": "Latest Commitment Start L2 Height", + "legendFormat": "__auto", "range": true, - "refId": "B", + "refId": "A", "useBackend": false }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_latest_sequencer_commitment_l2_end_height", + "editorMode": "code", + "expr": "sequencer_current_l2_block", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, - "legendFormat": "Latest Commitment End L2 Height", + "legendFormat": "__auto", "range": true, - "refId": "C", + "refId": "B", "useBackend": false } ], - "title": "Latest Commitment Data", + "title": "Evm Gas Usage Per Block Num", "transformations": [ { "id": "joinByField", "options": {} } ], - "type": "stat" + "type": "xychart" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1349,7 +1153,12 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 } ] } @@ -1360,13 +1169,15 @@ "h": 8, "w": 12, "x": 12, - "y": 40 + "y": 32 }, - "id": 29, + "id": 33, "options": { - "minVizHeight": 75, - "minVizWidth": 75, + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", "orientation": "auto", + "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" @@ -1374,35 +1185,35 @@ "fields": "", "values": false }, - "showThresholdLabels": false, - "showThresholdMarkers": true, - "sizing": "auto" + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sequencer_deposit_data_mempool_txs", + "expr": "sequencer_unaccepted_deposit_txs", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], - "title": "Number of txs in deposit data mempool", - "type": "gauge" + "title": "Unaccepted Deposit Txs", + "type": "stat" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1415,28 +1226,41 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "fillOpacity": 50, + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "pointShape": "circle", - "pointSize": { - "fixed": 5 - }, - "pointStrokeWidth": 1, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "show": "points+lines" + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1451,9 +1275,9 @@ "h": 8, "w": 12, "x": 0, - "y": 48 + "y": 40 }, - "id": 36, + "id": 6, "options": { "legend": { "calcs": [], @@ -1461,66 +1285,38 @@ "placement": "bottom", "showLegend": true }, - "mapping": "auto", - "series": [ - {} - ], "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ - { - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_current_l2_block", - "fullMetaSearch": false, - "includeNullMetadata": true, - "legendFormat": "__auto", - "range": true, - "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } - }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_l1_fee_failed_txs_count", + "editorMode": "code", + "expr": "sequencer_block_production_execution", "fullMetaSearch": false, - "hide": false, "includeNullMetadata": true, - "instant": false, "legendFormat": "__auto", "range": true, - "refId": "B", + "refId": "A", "useBackend": false } ], - "title": "L1 Fee Failed Txs Count By Block Number", - "transformations": [ - { - "id": "joinByField", - "options": {} - } - ], - "type": "xychart" + "title": "Complete Produce L2 Block", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, - "description": "Complete Block Production Time(secs) By Block Num", "fieldConfig": { "defaults": { "color": { @@ -1535,7 +1331,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 21, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -1544,15 +1340,13 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, "lineWidth": 1, - "pointSize": 3, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -1562,21 +1356,17 @@ "mode": "off" } }, - "fieldMinMax": true, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" - }, - { - "color": "#EAB839", - "value": 0.001 + "color": "green", + "value": 0 }, { "color": "red", - "value": 120000 + "value": 80 } ] } @@ -1587,10 +1377,9 @@ "h": 8, "w": 12, "x": 12, - "y": 48 + "y": 40 }, - "id": 1, - "interval": "2s", + "id": 21, "options": { "legend": { "calcs": [], @@ -1604,57 +1393,31 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_current_l2_block", + "editorMode": "code", + "expr": "sequencer_dry_run_execution", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_block_production_time", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "B", - "useBackend": false } ], - "title": "No Dry Run Block Production Time(secs) By Block Num", - "transformations": [ - { - "id": "joinByField", - "options": { - "byField": "Time", - "mode": "outer" - } - } - ], - "type": "trend" + "title": "Total Dry Run Execution Time", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1688,7 +1451,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1703,9 +1467,10 @@ "h": 8, "w": 12, "x": 0, - "y": 56 + "y": 48 }, - "id": 34, + "id": 25, + "interval": "1s", "options": { "legend": { "calcs": [], @@ -1719,13 +1484,13 @@ "x": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_latest_sequencer_commitment_index\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_current_l2_block" } }, "y": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_latest_sequencer_commitment_process_duration_secs\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_l1_fee_rate" } } } @@ -1736,42 +1501,42 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sequencer_latest_sequencer_commitment_index", + "expr": "sequencer_current_l2_block", "fullMetaSearch": false, + "hide": false, "includeNullMetadata": true, + "instant": false, "legendFormat": "__auto", "range": true, - "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "refId": "B", + "useBackend": false }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sequencer_latest_sequencer_commitment_process_duration_secs", + "expr": "sequencer_l1_fee_rate", "fullMetaSearch": false, - "hide": false, "includeNullMetadata": true, - "instant": false, "legendFormat": "__auto", "range": true, - "refId": "D", + "refId": "A", "useBackend": false } ], - "title": "Commitment Process Duration By Index", + "title": "L1 Fee Rate Per Block", "transformations": [ { "id": "joinByField", @@ -1783,7 +1548,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1796,39 +1561,29 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "barAlignment": 0, - "barWidthFactor": 0.6, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", + "fillOpacity": 50, "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, + "pointShape": "circle", + "pointSize": { + "fixed": 5 + }, + "pointStrokeWidth": 1, "scaleDistribution": { "type": "linear" }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } + "show": "points+lines" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1843,9 +1598,9 @@ "h": 8, "w": 12, "x": 12, - "y": 56 + "y": 48 }, - "id": 21, + "id": 36, "options": { "legend": { "calcs": [], @@ -1853,37 +1608,64 @@ "placement": "bottom", "showLegend": true }, + "mapping": "auto", + "series": [ + {} + ], "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_dry_run_execution", + "editorMode": "code", + "expr": "sequencer_current_l2_block", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_l1_fee_failed_txs_count", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false } ], - "title": "Total Dry Run Execution Time", - "type": "timeseries" + "title": "L1 Fee Failed Txs Count By Block Number", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "xychart" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -1914,6 +1696,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -1928,7 +1711,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -1943,9 +1727,9 @@ "h": 8, "w": 12, "x": 0, - "y": 64 + "y": 56 }, - "id": 32, + "id": 26, "options": { "legend": { "calcs": [], @@ -1959,31 +1743,31 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_deposit_tx_size", + "editorMode": "code", + "expr": "sequencer_commitment_mine_da_transaction", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], - "title": "Deposit Tx Size", + "title": "Mine Sequencer Commitment Tx Duration", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -2014,6 +1798,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -2028,7 +1813,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2037,40 +1823,16 @@ ] } }, - "overrides": [ - { - "__systemRef": "hideSeriesFrom", - "matcher": { - "id": "byNames", - "options": { - "mode": "exclude", - "names": [ - "{__name__=\"rpc_response_time_seconds\", instance=\"host.docker.internal:8001\", job=\"sequencer\", method=\"ledger_getHeadL2BlockHeight\", quantile=\"0.5\", success=\"true\"}" - ], - "prefix": "All except:", - "readOnly": true - } - }, - "properties": [ - { - "id": "custom.hideFrom", - "value": { - "legend": false, - "tooltip": false, - "viz": true - } - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 8, "w": 12, "x": 12, - "y": 64 + "y": 56 }, - "id": 27, + "id": 28, + "interval": "1s", "options": { "legend": { "calcs": [], @@ -2084,32 +1846,33 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "rpc_response_time_seconds", + "editorMode": "code", + "expr": "rate(transaction_pool_inserted_transactions[1m])", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], - "title": "Rpc Response Times", + "title": "Number of txs coming to the mempool in the last minute", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, + "description": "This does not work perfect in scenarios where there are over couple hundered missed DA blocks, and new l2 blocks are produced for every 10 L1 block instantly", "fieldConfig": { "defaults": { "color": { @@ -2121,7 +1884,7 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "fillOpacity": 50, + "fillOpacity": 100, "hideFrom": { "legend": false, "tooltip": false, @@ -2142,7 +1905,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2157,10 +1921,10 @@ "h": 8, "w": 12, "x": 0, - "y": 72 + "y": 64 }, - "id": 25, - "interval": "1s", + "id": 2, + "interval": "1", "options": { "legend": { "calcs": [], @@ -2174,13 +1938,13 @@ "x": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_current_l2_block\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_current_l2_block" } }, "y": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_l1_fee_rate\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_l2_block_tx_count" } } } @@ -2191,42 +1955,42 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_current_l2_block", "fullMetaSearch": false, - "hide": false, "includeNullMetadata": true, - "instant": false, "legendFormat": "__auto", "range": true, - "refId": "B", + "refId": "A", "useBackend": false }, { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_l1_fee_rate", + "editorMode": "code", + "expr": "sequencer_l2_block_tx_count", "fullMetaSearch": false, + "hide": false, "includeNullMetadata": true, + "instant": false, "legendFormat": "__auto", "range": true, - "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "refId": "B", + "useBackend": false } ], - "title": "L1 Fee Rate Per Block", + "title": "Tx Count By Block Number", "transformations": [ { "id": "joinByField", @@ -2238,7 +2002,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -2269,6 +2033,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -2283,11 +2048,185 @@ "mode": "absolute", "steps": [ { - "color": "green" - }, - { - "color": "red", - "value": 80 + "color": "green", + "value": 0 + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 64 + }, + "id": 7, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "bitcoin_da_transaction_queue_processing_time", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Bitcoin DA Queue Processing Time", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 72 + }, + "id": 35, + "interval": "2s", + "options": { + "colorMode": "value", + "graphMode": "area", + "justifyMode": "auto", + "orientation": "auto", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "12.3.0", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_index", + "fullMetaSearch": false, + "includeNullMetadata": true, + "legendFormat": "Latest Commitment Index", + "range": true, + "refId": "A", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_l2_start_height", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Latest Commitment Start L2 Height", + "range": true, + "refId": "B", + "useBackend": false + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_l2_end_height", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "Latest Commitment End L2 Height", + "range": true, + "refId": "C", + "useBackend": false + } + ], + "title": "Latest Commitment Data", + "transformations": [ + { + "id": "joinByField", + "options": {} + } + ], + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": 0 } ] } @@ -2300,45 +2239,47 @@ "x": 12, "y": 72 }, - "id": 26, + "id": 29, "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "minVizHeight": 75, + "minVizWidth": 75, + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false }, - "tooltip": { - "hideZeros": false, - "mode": "single", - "sort": "none" - } + "showThresholdLabels": false, + "showThresholdMarkers": true, + "sizing": "auto" }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_commitment_mine_da_transaction", + "editorMode": "code", + "expr": "sequencer_deposit_data_mempool_txs", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - } + "useBackend": false } ], - "title": "Mine Sequencer Commitment Tx Duration", - "type": "timeseries" + "title": "Number of txs in deposit data mempool", + "type": "gauge" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -2372,7 +2313,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2389,8 +2331,7 @@ "x": 0, "y": 80 }, - "id": 23, - "interval": "1s", + "id": 34, "options": { "legend": { "calcs": [], @@ -2404,13 +2345,13 @@ "x": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_current_l2_block\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_latest_sequencer_commitment_index" } }, "y": { "matcher": { "id": "byName", - "options": "{__name__=\"evm_block_gas_usage\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_latest_sequencer_commitment_process_duration_secs" } } } @@ -2421,16 +2362,16 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "evm_block_gas_usage", + "expr": "sequencer_latest_sequencer_commitment_index", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -2441,22 +2382,22 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_current_l2_block", + "editorMode": "code", + "expr": "sequencer_latest_sequencer_commitment_process_duration_secs", "fullMetaSearch": false, "hide": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, - "refId": "B", + "refId": "D", "useBackend": false } ], - "title": "Evm Gas Usage Per Block Num", + "title": "Commitment Process Duration By Index", "transformations": [ { "id": "joinByField", @@ -2468,8 +2409,9 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, + "description": "Complete Block Production Time(secs) By Block Num", "fieldConfig": { "defaults": { "color": { @@ -2484,7 +2426,7 @@ "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 21, "gradientMode": "none", "hideFrom": { "legend": false, @@ -2493,12 +2435,16 @@ }, "insertNulls": false, "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, "lineWidth": 1, - "pointSize": 5, + "pointSize": 3, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -2508,16 +2454,22 @@ "mode": "off" } }, + "fieldMinMax": true, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 + }, + { + "color": "#EAB839", + "value": 0.001 }, { "color": "red", - "value": 80 + "value": 120000 } ] } @@ -2530,8 +2482,8 @@ "x": 12, "y": 80 }, - "id": 28, - "interval": "1s", + "id": 1, + "interval": "2s", "options": { "legend": { "calcs": [], @@ -2543,35 +2495,62 @@ "hideZeros": false, "mode": "single", "sort": "none" - } + }, + "xField": "sequencer_current_l2_block" }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { + "datasource": { + "type": "prometheus", + "uid": "eed8s4geh3myob" + }, "disableTextWrap": false, - "editorMode": "code", - "expr": "rate(transaction_pool_inserted_transactions[1m])", + "editorMode": "builder", + "expr": "sequencer_current_l2_block", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", - "useBackend": false, + "useBackend": false + }, + { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "sequencer_no_dry_run_block_production_duration_secs", + "fullMetaSearch": false, + "hide": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "B", + "useBackend": false + } + ], + "title": "No Dry Run Block Production Time(secs) By Block Num", + "transformations": [ + { + "id": "joinByField", + "options": { + "byField": "Time", + "mode": "outer" } } ], - "title": "Number of txs coming to the mempool in the last minute", - "type": "timeseries" + "type": "trend" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, - "description": "This does not work perfect in scenarios where there are over couple hundered missed DA blocks, and new l2 blocks are produced for every 10 L1 block instantly", + "description": "The duration eth_call for deposit txs", "fieldConfig": { "defaults": { "color": { @@ -2583,28 +2562,41 @@ "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "fillOpacity": 100, + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "pointShape": "circle", - "pointSize": { - "fixed": 5 - }, - "pointStrokeWidth": 1, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "show": "points+lines" + "showPoints": "auto", + "showValues": false, + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2621,8 +2613,7 @@ "x": 0, "y": 88 }, - "id": 2, - "interval": "1", + "id": 30, "options": { "legend": { "calcs": [], @@ -2630,77 +2621,37 @@ "placement": "bottom", "showLegend": true }, - "mapping": "auto", - "series": [ - { - "x": { - "matcher": { - "id": "byName", - "options": "{__name__=\"sequencer_current_l2_block\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" - } - }, - "y": { - "matcher": { - "id": "byName", - "options": "{__name__=\"sequencer_l2_block_tx_count\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" - } - } - } - ], "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", - "expr": "sequencer_current_l2_block", + "expr": "sequencer_deposit_tx_call_duration", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_l2_block_tx_count", - "fullMetaSearch": false, - "hide": false, - "includeNullMetadata": true, - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "B", - "useBackend": false - } - ], - "title": "Tx Count By Block Number", - "transformations": [ - { - "id": "joinByField", - "options": {} } ], - "type": "xychart" + "title": "Deposit Tx Call Duration", + "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -2734,7 +2685,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2771,13 +2723,13 @@ "x": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_currently_committing_index\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_currently_committing_index" } }, "y": { "matcher": { "id": "byName", - "options": "{__name__=\"sequencer_commitment_blocks_count\", instance=\"host.docker.internal:8001\", job=\"sequencer\"}" + "options": "sequencer_commitment_blocks_count" } } } @@ -2788,12 +2740,12 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, "editorMode": "builder", @@ -2808,10 +2760,10 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", + "editorMode": "code", "expr": "sequencer_commitment_blocks_count", "fullMetaSearch": false, "hide": false, @@ -2835,7 +2787,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -2866,6 +2818,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -2880,7 +2833,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2897,7 +2851,7 @@ "x": 0, "y": 96 }, - "id": 6, + "id": 32, "options": { "legend": { "calcs": [], @@ -2911,16 +2865,16 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "disableTextWrap": false, - "editorMode": "builder", - "expr": "sequencer_block_production_execution", + "editorMode": "code", + "expr": "sequencer_deposit_tx_size", "fullMetaSearch": false, "includeNullMetadata": true, "legendFormat": "__auto", @@ -2929,13 +2883,13 @@ "useBackend": false } ], - "title": "Complete Produce L2 Block", + "title": "Deposit Tx Size", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -2966,6 +2920,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -2980,7 +2935,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -2988,13 +2944,13 @@ } ] }, - "unit": "short" + "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byName", - "options": "Pending Pool" + "options": "Pending Pool Size" }, "properties": [ { @@ -3009,7 +2965,7 @@ { "matcher": { "id": "byName", - "options": "Basefee Pool" + "options": "Basefee Pool Size" }, "properties": [ { @@ -3024,7 +2980,7 @@ { "matcher": { "id": "byName", - "options": "Queued Pool" + "options": "Queued Pool Size" }, "properties": [ { @@ -3041,13 +2997,15 @@ "gridPos": { "h": 8, "w": 12, - "x": 0, + "x": 12, "y": 96 }, - "id": 40, + "id": 38, "options": { "legend": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -3058,49 +3016,49 @@ "sort": "desc" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", - "expr": "transaction_pool_pending_pool_transactions", - "legendFormat": "Pending Pool", + "expr": "transaction_pool_pending_pool_size_bytes", + "legendFormat": "Pending Pool Size", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", - "expr": "transaction_pool_basefee_pool_transactions", - "legendFormat": "Basefee Pool", + "expr": "transaction_pool_basefee_pool_size_bytes", + "legendFormat": "Basefee Pool Size", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", - "expr": "transaction_pool_queued_pool_transactions", - "legendFormat": "Queued Pool", + "expr": "transaction_pool_queued_pool_size_bytes", + "legendFormat": "Queued Pool Size", "range": true, "refId": "C" } ], - "title": "Stacked Mempool Transaction Types", + "title": "Stacked Mempool Size (Bytes)", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -3131,6 +3089,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -3145,7 +3104,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -3153,13 +3113,13 @@ } ] }, - "unit": "bytes" + "unit": "short" }, "overrides": [ { "matcher": { "id": "byName", - "options": "Pending Pool Size" + "options": "Pending Pool" }, "properties": [ { @@ -3174,7 +3134,7 @@ { "matcher": { "id": "byName", - "options": "Basefee Pool Size" + "options": "Basefee Pool" }, "properties": [ { @@ -3189,7 +3149,7 @@ { "matcher": { "id": "byName", - "options": "Queued Pool Size" + "options": "Queued Pool" }, "properties": [ { @@ -3206,13 +3166,15 @@ "gridPos": { "h": 8, "w": 12, - "x": 12, - "y": 96 + "x": 0, + "y": 104 }, - "id": 41, + "id": 39, "options": { "legend": { - "calcs": ["lastNotNull"], + "calcs": [ + "lastNotNull" + ], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -3223,49 +3185,49 @@ "sort": "desc" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", - "expr": "transaction_pool_pending_pool_size_bytes", - "legendFormat": "Pending Pool Size", + "expr": "transaction_pool_pending_pool_transactions", + "legendFormat": "Pending Pool", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", - "expr": "transaction_pool_basefee_pool_size_bytes", - "legendFormat": "Basefee Pool Size", + "expr": "transaction_pool_basefee_pool_transactions", + "legendFormat": "Basefee Pool", "range": true, "refId": "B" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", - "expr": "transaction_pool_queued_pool_size_bytes", - "legendFormat": "Queued Pool Size", + "expr": "transaction_pool_queued_pool_transactions", + "legendFormat": "Queued Pool", "range": true, "refId": "C" } ], - "title": "Stacked Mempool Size (Bytes)", + "title": "Stacked Mempool Transaction Types", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "fieldConfig": { "defaults": { @@ -3296,6 +3258,7 @@ "type": "linear" }, "showPoints": "auto", + "showValues": false, "spanNulls": false, "stacking": { "group": "A", @@ -3310,7 +3273,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": 0 }, { "color": "red", @@ -3325,13 +3289,16 @@ "gridPos": { "h": 8, "w": 12, - "x": 0, + "x": 12, "y": 104 }, - "id": 42, + "id": 40, "options": { "legend": { - "calcs": ["lastNotNull", "mean"], + "calcs": [ + "lastNotNull", + "mean" + ], "displayMode": "list", "placement": "bottom", "showLegend": true @@ -3342,12 +3309,12 @@ "sort": "none" } }, - "pluginVersion": "12.0.1+security-01", + "pluginVersion": "12.3.0", "targets": [ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", "expr": "rate(transaction_pool_inserted_transactions[1m])", @@ -3358,7 +3325,7 @@ { "datasource": { "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "uid": "eed8s4geh3myob" }, "editorMode": "code", "expr": "rate(transaction_pool_removed_transactions[1m])", @@ -3367,24 +3334,24 @@ "refId": "B" } ], - "title": "Mempool Transaction Flow (per second)", + "title": "Mempool Transaction Flow (per minute)", "type": "timeseries" } ], - "refresh": "", - "schemaVersion": 41, + "preload": false, + "refresh": "5s", + "schemaVersion": 42, "tags": [], "templating": { "list": [] }, "time": { - "from": "now-30s", + "from": "now-1m", "to": "now" }, "timepicker": {}, "timezone": "browser", - "title": "Sequencer Dashboard", + "title": "Clean import New Sequencer Dashboard", "uid": "d1faed80-531c-4c31-bd06-acc46d388c84", - "version": 10, - "weekStart": "" -} + "version": 1 +} \ No newline at end of file