Commit 53602f1b authored by Ekaterina Riazantseva's avatar Ekaterina Riazantseva Committed by GitHub

fix: add milliseconds to histograms (#879)

This PR updates the PeerDAS dashboard histograms to display metrics in
both milliseconds and seconds.

Relates to [PeerDAS metrics
specs](https://github.com/ethereum/beacon-metrics/pull/14)

---------
Co-authored-by: default avatarBarnabas Busa <busa.barnabas@gmail.com>
parent 040e622c
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"editable": true, "editable": true,
"fiscalYearStartMonth": 0, "fiscalYearStartMonth": 0,
"graphTooltip": 0, "graphTooltip": 0,
"id": 7, "id": 6,
"links": [], "links": [],
"panels": [ "panels": [
{ {
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "9.1.2", "pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "9.1.2", "pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -325,7 +325,7 @@ ...@@ -325,7 +325,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "9.1.2", "pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -402,8 +402,7 @@ ...@@ -402,8 +402,7 @@
"value": 80 "value": 80
} }
] ]
}, }
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
...@@ -426,6 +425,7 @@ ...@@ -426,6 +425,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -433,7 +433,7 @@ ...@@ -433,7 +433,7 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(beacon_data_column_sidecar_gossip_verification_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))", "expr": "(\n histogram_quantile(0.99, rate(beacon_data_column_sidecar_gossip_verification_seconds_bucket {client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))\n)\nOR\n(\n histogram_quantile(0.99, rate(beacon_data_column_sidecar_gossip_verification_milliseconds_bucket{\n client_name=~\"$client\",\n job=~\"$job\",\n supernode=~\"$nodes\"\n }[$__rate_interval])) / 1000\n)",
"instant": false, "instant": false,
"legendFormat": "{{job}}", "legendFormat": "{{job}}",
"range": true, "range": true,
...@@ -525,7 +525,7 @@ ...@@ -525,7 +525,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "9.1.2", "pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -602,8 +602,7 @@ ...@@ -602,8 +602,7 @@
"value": 80 "value": 80
} }
] ]
}, }
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
...@@ -626,6 +625,7 @@ ...@@ -626,6 +625,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -633,7 +633,7 @@ ...@@ -633,7 +633,7 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(beacon_data_availability_reconstruction_time_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))", "expr": "(\n histogram_quantile(0.99, rate(beacon_data_availability_reconstruction_time_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))\n)\nOR\n(\n histogram_quantile(0.99, rate(beacon_data_availability_reconstruction_time_milliseconds_bucket{\n client_name=~\"$client\",\n job=~\"$job\",\n supernode=~\"$nodes\"\n }[$__rate_interval])) / 1000\n)",
"legendFormat": "{{job}}", "legendFormat": "{{job}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
...@@ -700,8 +700,7 @@ ...@@ -700,8 +700,7 @@
"value": 80 "value": 80
} }
] ]
}, }
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
...@@ -724,6 +723,7 @@ ...@@ -724,6 +723,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -731,7 +731,7 @@ ...@@ -731,7 +731,7 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(data_column_sidecar_computation_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))", "expr": "(\n histogram_quantile(0.99, rate(beacon_data_column_sidecar_computation_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))\n)\nOR\n(\n histogram_quantile(0.99, rate(beacon_data_column_sidecar_computation_milliseconds_bucket{\n client_name=~\"$client\",\n job=~\"$job\",\n supernode=~\"$nodes\"\n }[$__rate_interval])) / 1000\n)",
"legendFormat": "{{job}}", "legendFormat": "{{job}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
...@@ -797,8 +797,7 @@ ...@@ -797,8 +797,7 @@
"value": 80 "value": 80
} }
] ]
}, }
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
...@@ -821,6 +820,7 @@ ...@@ -821,6 +820,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -828,7 +828,7 @@ ...@@ -828,7 +828,7 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(beacon_data_column_sidecar_inclusion_proof_verification_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))", "expr": "(\n histogram_quantile(0.99, rate(beacon_data_column_sidecar_inclusion_proof_verification_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))\n)\nOR\n(\n histogram_quantile(0.99, rate(beacon_data_column_sidecar_inclusion_proof_verification_milliseconds_bucket{\n client_name=~\"$client\",\n job=~\"$job\",\n supernode=~\"$nodes\"\n }[$__rate_interval])) / 1000\n)",
"legendFormat": "{{job}}", "legendFormat": "{{job}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
...@@ -894,8 +894,7 @@ ...@@ -894,8 +894,7 @@
"value": 80 "value": 80
} }
] ]
}, }
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
...@@ -918,6 +917,7 @@ ...@@ -918,6 +917,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -925,7 +925,7 @@ ...@@ -925,7 +925,7 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(beacon_kzg_verification_data_column_single_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))", "expr": "(\n histogram_quantile(0.99, rate(beacon_kzg_verification_data_column_single_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))\n)\nOR\n(\n histogram_quantile(0.99, rate(beacon_kzg_verification_data_column_single_milliseconds_bucket{\n client_name=~\"$client\",\n job=~\"$job\",\n supernode=~\"$nodes\"\n }[$__rate_interval])) / 1000\n)",
"hide": false, "hide": false,
"legendFormat": "{{job}}", "legendFormat": "{{job}}",
"range": true, "range": true,
...@@ -992,8 +992,7 @@ ...@@ -992,8 +992,7 @@
"value": 80 "value": 80
} }
] ]
}, }
"unit": "s"
}, },
"overrides": [] "overrides": []
}, },
...@@ -1016,6 +1015,7 @@ ...@@ -1016,6 +1015,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -1023,7 +1023,7 @@ ...@@ -1023,7 +1023,7 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"editorMode": "code", "editorMode": "code",
"expr": "histogram_quantile(0.99, rate(beacon_kzg_verification_data_column_batch_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))", "expr": "(\n histogram_quantile(0.99, rate(beacon_kzg_verification_data_column_batch_seconds_bucket{client_name=~\"$client\", job=~\"$job\", supernode=~\"$nodes\"}[$__rate_interval]))\n)\nOR\n(\n histogram_quantile(0.99, rate(beacon_kzg_verification_data_column_batch_milliseconds_bucket{\n client_name=~\"$client\",\n job=~\"$job\",\n supernode=~\"$nodes\"\n }[$__rate_interval])) / 1000\n)",
"legendFormat": "{{job}}", "legendFormat": "{{job}}",
"range": true, "range": true,
"refId": "A" "refId": "A"
...@@ -1112,6 +1112,7 @@ ...@@ -1112,6 +1112,7 @@
"sort": "desc" "sort": "desc"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -1221,6 +1222,7 @@ ...@@ -1221,6 +1222,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -1319,6 +1321,7 @@ ...@@ -1319,6 +1321,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -1417,6 +1420,7 @@ ...@@ -1417,6 +1420,7 @@
"sort": "none" "sort": "none"
} }
}, },
"pluginVersion": "11.4.0",
"targets": [ "targets": [
{ {
"datasource": { "datasource": {
...@@ -1482,8 +1486,7 @@ ...@@ -1482,8 +1486,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -1581,8 +1584,7 @@ ...@@ -1581,8 +1584,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -1680,8 +1682,7 @@ ...@@ -1680,8 +1682,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -1793,8 +1794,7 @@ ...@@ -1793,8 +1794,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -1896,8 +1896,7 @@ ...@@ -1896,8 +1896,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -1999,8 +1998,7 @@ ...@@ -1999,8 +1998,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -2102,8 +2100,7 @@ ...@@ -2102,8 +2100,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -2205,8 +2202,7 @@ ...@@ -2205,8 +2202,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -2309,8 +2305,7 @@ ...@@ -2309,8 +2305,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -2413,8 +2408,7 @@ ...@@ -2413,8 +2408,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -2517,8 +2511,7 @@ ...@@ -2517,8 +2511,7 @@
"mode": "absolute", "mode": "absolute",
"steps": [ "steps": [
{ {
"color": "green", "color": "green"
"value": null
}, },
{ {
"color": "red", "color": "red",
...@@ -2572,33 +2565,27 @@ ...@@ -2572,33 +2565,27 @@
"type": "timeseries" "type": "timeseries"
} }
], ],
"preload": false,
"refresh": "15m", "refresh": "15m",
"schemaVersion": 39, "schemaVersion": 40,
"tags": [], "tags": [],
"templating": { "templating": {
"list": [ "list": [
{ {
"current": { "current": {
"selected": true,
"text": [ "text": [
"All" "$__all"
], ],
"value": [ "value": [
"$__all" "$__all"
] ]
}, },
"description": "", "description": "",
"hide": 0,
"includeAll": true, "includeAll": true,
"label": "Client", "label": "Client",
"multi": true, "multi": true,
"name": "client", "name": "client",
"options": [ "options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{ {
"selected": false, "selected": false,
"text": "lighthouse", "text": "lighthouse",
...@@ -2631,16 +2618,11 @@ ...@@ -2631,16 +2618,11 @@
} }
], ],
"query": "lighthouse, teku, prysm, lodestar, grandine, nimbus", "query": "lighthouse, teku, prysm, lodestar, grandine, nimbus",
"queryValue": "",
"skipUrlSync": false,
"type": "custom" "type": "custom"
}, },
{ {
"current": { "current": {
"selected": true, "text": "All",
"text": [
"All"
],
"value": [ "value": [
"$__all" "$__all"
] ]
...@@ -2650,7 +2632,6 @@ ...@@ -2650,7 +2632,6 @@
"uid": "PBFA97CFB590B2093" "uid": "PBFA97CFB590B2093"
}, },
"definition": "label_values(job)", "definition": "label_values(job)",
"hide": 0,
"includeAll": true, "includeAll": true,
"label": "Job", "label": "Job",
"multi": true, "multi": true,
...@@ -2663,31 +2644,22 @@ ...@@ -2663,31 +2644,22 @@
}, },
"refresh": 1, "refresh": 1,
"regex": "^cl.*", "regex": "^cl.*",
"skipUrlSync": false,
"sort": 0,
"type": "query" "type": "query"
}, },
{ {
"current": { "current": {
"selected": true,
"text": [ "text": [
"All" "$__all"
], ],
"value": [ "value": [
"$__all" "$__all"
] ]
}, },
"hide": 0,
"includeAll": true, "includeAll": true,
"label": "Nodes", "label": "Nodes",
"multi": true, "multi": true,
"name": "nodes", "name": "nodes",
"options": [ "options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{ {
"selected": false, "selected": false,
"text": "supernodes", "text": "supernodes",
...@@ -2700,8 +2672,6 @@ ...@@ -2700,8 +2672,6 @@
} }
], ],
"query": "supernodes : True, full nodes : False", "query": "supernodes : True, full nodes : False",
"queryValue": "",
"skipUrlSync": false,
"type": "custom" "type": "custom"
} }
] ]
...@@ -2714,6 +2684,6 @@ ...@@ -2714,6 +2684,6 @@
"timezone": "browser", "timezone": "browser",
"title": "PeerDAS metrics", "title": "PeerDAS metrics",
"uid": "ddr7j9b1mlszkm", "uid": "ddr7j9b1mlszkm",
"version": 15, "version": 7,
"weekStart": "" "weekStart": ""
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment