feat(layer): BanyanDB self-observability layer (SWIP-15)#49
Merged
Conversation
New BanyanDB layer under Self-Observability — Cluster / Container / Group dashboards plus a role-aware Deployment topology — and the widget + deployment-config infrastructure it needed. Dashboards - Container panels adapt to the container's role (liaison / data / lifecycle); group panels split per data model; panels self-gate on the role attribute and on data presence. - Disk Used / Total shown per data path in one widget; removed the redundant UI-side *100 on disk / system-memory percent (the MAL scales). Widgets - New card format "enum" (translatable value->label map), "duration" time-ago, and scientific-notation chart axes/tooltips for large values. - Instance-list badge configurable per layer (instances.badge). Deployment topology - Role-to-role edge metrics: up to 3 client-side primaries inline with short aliases, flowing by edge length; full client | server breakdown in the selected-edge panel; per-role health-ring legend showing each role's threshold bands. - The deployment role model (clustering, per-role metrics, role-pair edge metrics) is editable in the Layer-dashboards admin. Templates validated against a live OAP.
mrproliu
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BanyanDB self-observability layer (SWIP-15)
Adds a new BanyanDB layer under Self-Observability — Cluster / Container / Group dashboards plus a role-aware Deployment topology — and the widget + deployment-config infrastructure it needed. Pairs with OAP backend SWIP-15 (
meter_banyandb_*cluster /meter_banyandb_instance_*container /meter_banyandb_endpoint_*group).Dashboards
*100on disk / system-memory percent (the MAL already scales), and the spurious*1000on histogram-p99 latencies (the MAL'shistogram()already emits ms).Widget capabilities (generic)
format: "enum"— a translatable value→label map (e.g.1 → OK,0 → Failed), editable in the dashboards admin and the translations editor.durationtime-ago format; line-chart axes + tooltips use scientific notation for large magnitudes.instances.badge).Deployment topology
W/R), flowing onto one line or stacking by edge length; the selected-edge panel keeps the full client | server breakdown; the Flows sub-tab tables every edge per role-pair.Validation
tsc× 3, ESLint, i18n catalog validation, license-eye, and unit tests (BFF 189 / UI 85) all pass.