fix(telemetry): set ms unit on duration heatmap y-axes

The three duration heatmaps (transaction, consensus accept, RPC latency)
had an axisLabel of "Duration (ms)" but no unit code, so y-axis tick
values rendered unscaled. Set unit=ms on both the yAxis options and
panel defaults so buckets display as proper millisecond values.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Pratik Mankawde
2026-06-04 11:27:46 +01:00
parent 8e606bbaf4
commit 194f5b8af8
3 changed files with 24 additions and 6 deletions

View File

@@ -384,7 +384,8 @@
"sort": "desc"
},
"yAxis": {
"axisLabel": "Duration (ms)"
"axisLabel": "Duration (ms)",
"unit": "ms"
}
},
"targets": [
@@ -396,7 +397,12 @@
"legendFormat": "{{le}}",
"format": "heatmap"
}
]
],
"fieldConfig": {
"defaults": {
"unit": "ms"
}
}
},
{
"title": "Close Time: Raw Proposals (Per Node)",

View File

@@ -150,7 +150,8 @@
"sort": "desc"
},
"yAxis": {
"axisLabel": "Duration (ms)"
"axisLabel": "Duration (ms)",
"unit": "ms"
}
},
"targets": [
@@ -162,7 +163,12 @@
"legendFormat": "{{le}}",
"format": "heatmap"
}
]
],
"fieldConfig": {
"defaults": {
"unit": "ms"
}
}
},
{
"title": "Overall RPC Throughput",

View File

@@ -186,7 +186,8 @@
"sort": "desc"
},
"yAxis": {
"axisLabel": "Duration (ms)"
"axisLabel": "Duration (ms)",
"unit": "ms"
}
},
"targets": [
@@ -198,7 +199,12 @@
"legendFormat": "{{le}}",
"format": "heatmap"
}
]
],
"fieldConfig": {
"defaults": {
"unit": "ms"
}
}
},
{
"title": "Transaction Apply Duration per Ledger",