From 6dfe8e3098ade0dc1b334ead9a6b93ed0ecd5dd9 Mon Sep 17 00:00:00 2001 From: Arlmls <23259825+Arlmls@users.noreply.github.com> Date: Wed, 9 Jan 2019 17:16:32 +0800 Subject: [PATCH] dashboard: change text of p_qps and b_qps to be more intuitive in monitoring page (#398) --- .../main/webapp/resources/app/scripts/controllers/metric.js | 4 ++-- .../src/main/webapp/resources/app/views/metric.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js b/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js index 7986d2f6..2fa4b92f 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js +++ b/sentinel-dashboard/src/main/webapp/resources/app/scripts/controllers/metric.js @@ -131,10 +131,10 @@ app.controller('MetricCtl', ['$scope', '$stateParams', 'MetricService', '$interv allowAllCanceled: true, itemFormatter: function (val) { if ('passQps' === val) { - return 'p_qps'; + return 'p_qps(通过 QPS)'; } if ('blockQps' === val) { - return 'b_qps'; + return 'b_qps(拒绝 QPS)'; } return val; }, diff --git a/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html b/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html index a77b895f..d248bebf 100755 --- a/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html +++ b/sentinel-dashboard/src/main/webapp/resources/app/views/metric.html @@ -51,9 +51,9 @@ 时间 - p_qps - b_qps - rt(ms) + 通过QPS + 拒绝QPS + 响应时间(ms)