From cc1239cfff326e7d50bdd7df01da258d3e3b5121 Mon Sep 17 00:00:00 2001 From: wangchenguang Date: Mon, 27 Jul 2026 13:43:34 +0800 Subject: [PATCH 1/2] fix(vars): render /vars as an HTML name-value table Replace the plain paragraph list with a gridtable so variable names and values align in columns, and keep expandable flot charts in a dedicated detail row. --- src/brpc/builtin/vars_service.cpp | 37 +++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/src/brpc/builtin/vars_service.cpp b/src/brpc/builtin/vars_service.cpp index 00235e213e..03df1aa0fe 100644 --- a/src/brpc/builtin/vars_service.cpp +++ b/src/brpc/builtin/vars_service.cpp @@ -45,6 +45,7 @@ namespace brpc { void PutVarsHeading(std::ostream& os, bool expand_all) { os << "\n" "\n" + << gridtable_style() << TabsHead() << "