You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2019/11/11 13:37:49 UTC

[skywalking-rocketbot-ui] branch master updated: fix: Response Time Percentile (#185)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 8cf26c9  fix: Response Time Percentile (#185)
8cf26c9 is described below

commit 8cf26c93470c4b80b6ac3830dd6159a2346c70c1
Author: Fine <fi...@outlook.com>
AuthorDate: Mon Nov 11 21:37:41 2019 +0800

    fix: Response Time Percentile (#185)
    
    * fix: Response Time Percentile
---
 src/assets/lang/en.ts                                     |  2 +-
 src/store/modules/dashboard/template/database-template.ts |  4 ++--
 src/store/modules/dashboard/template/endpoint-template.ts |  4 ++--
 src/store/modules/dashboard/template/global-template.ts   |  2 +-
 src/store/modules/dashboard/template/service-template.ts  |  4 ++--
 src/utils/queryChartData.ts                               | 11 ++++++-----
 6 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/src/assets/lang/en.ts b/src/assets/lang/en.ts
index 70a2a0b..af107f5 100644
--- a/src/assets/lang/en.ts
+++ b/src/assets/lang/en.ts
@@ -96,7 +96,7 @@ const m = {
   weekCutTip: 'Last 1 week',
   monthCutTip: 'Last 1 month',
   serverZone: 'Server Zone',
-  percentResponse: 'Percent Response',
+  percentResponse: 'Response Time Percentile',
   exportImage: 'Export image',
   comparison: 'Metrics Comparison',
   queryData: 'Query',
diff --git a/src/store/modules/dashboard/template/database-template.ts b/src/store/modules/dashboard/template/database-template.ts
index c7433ff..0f7efee 100644
--- a/src/store/modules/dashboard/template/database-template.ts
+++ b/src/store/modules/dashboard/template/database-template.ts
@@ -52,7 +52,7 @@ export default [
     o: 'Global',
     d: 'globalPercent',
     c: 'ChartLine',
-    t: 'Global Percent Response',
+    t: 'Global Response Time Percentile',
     w: 3,
     h: '250',
   },
@@ -60,7 +60,7 @@ export default [
     o: 'Database',
     d: 'databasePercent',
     c: 'ChartLine',
-    t: 'Database Percent',
+    t: 'Database Response Time Percentile',
     w: 3,
     h: '250',
   },
diff --git a/src/store/modules/dashboard/template/endpoint-template.ts b/src/store/modules/dashboard/template/endpoint-template.ts
index 9a973b1..6ce7d25 100644
--- a/src/store/modules/dashboard/template/endpoint-template.ts
+++ b/src/store/modules/dashboard/template/endpoint-template.ts
@@ -76,7 +76,7 @@ export default [
     o: 'Global',
     d: 'globalPercent',
     c: 'ChartLine',
-    t: 'Global Percent Response',
+    t: 'Global Response Time Percentile',
     w: 3,
     h: 250,
   },
@@ -84,7 +84,7 @@ export default [
     o: 'ServiceEndpoint',
     d: 'endpointPercent',
     c: 'ChartLine',
-    t: 'Endpoint Percent Response',
+    t: 'Endpoint Response Time Percentile',
     w: 3,
     h: 250,
   },
diff --git a/src/store/modules/dashboard/template/global-template.ts b/src/store/modules/dashboard/template/global-template.ts
index c770521..a18e871 100644
--- a/src/store/modules/dashboard/template/global-template.ts
+++ b/src/store/modules/dashboard/template/global-template.ts
@@ -26,7 +26,7 @@ export default [
   {
     d: 'globalPercent',
     c: 'ChartLine',
-    t: 'Global Percent Response',
+    t: 'Global Response Time Percentile',
     w: 6,
     h: 250,
   },
diff --git a/src/store/modules/dashboard/template/service-template.ts b/src/store/modules/dashboard/template/service-template.ts
index 820c7ab..ce4c262 100644
--- a/src/store/modules/dashboard/template/service-template.ts
+++ b/src/store/modules/dashboard/template/service-template.ts
@@ -76,7 +76,7 @@ export default [
     o: 'Global',
     d: 'globalPercent',
     c: 'ChartLine',
-    t: 'Global Percent Response',
+    t: 'Global Response Time Percentile',
     w: 3,
     h: 250,
   },
@@ -84,7 +84,7 @@ export default [
     o: 'Service',
     d: 'servicePercent',
     c: 'ChartLine',
-    t: 'Service Percent Response',
+    t: 'Service Response Time Percentile',
     w: 3,
     h: 250,
   },
diff --git a/src/utils/queryChartData.ts b/src/utils/queryChartData.ts
index c430001..b433ace 100644
--- a/src/utils/queryChartData.ts
+++ b/src/utils/queryChartData.ts
@@ -21,7 +21,7 @@ export const queryChartData = {
     {
       o: 'Global', d: 'globalHeatmap', c: 'ChartHeatmap', t: 'Global Heatmap', w: 3, h: 250,
     }, {
-      o: 'Global', d: 'globalPercent', c: 'ChartLine', t: 'Global Percent Response', w: 3, h: 250,
+      o: 'Global', d: 'globalPercent', c: 'ChartLine', t: 'Global Response Time Percentile', w: 3, h: 250,
     }, {
       o: 'Global', d: 'globalBrief', c: 'ChartBrief', t: 'Global Brief', w: 3, h: 250,
     }, {
@@ -37,7 +37,7 @@ export const queryChartData = {
     { o: 'Service', d: 'serviceThroughput', c: 'ChartLine', t: 'Service Throughput', w: 3, h: 250 },
     { o: 'Service', d: 'serviceSLA', c: 'ChartBar', t: 'Service SLA', w: 3, h: 250 },
     { o: 'Service', d: 'serviceInstanceThroughput', c: 'ChartTrace', t: 'Running ServiceInstance', w: 3, h: 250 },
-    { o: 'Service', d: 'servicePercent', c: 'ChartLine', t: 'Service Percent Response', w: 3, h: 250 },
+    { o: 'Service', d: 'servicePercent', c: 'ChartLine', t: 'Service Response Time Percentile', w: 3, h: 250 },
     { o: 'Service', d: 'serviceSlowEndpoint', c: 'ChartSlow', t: 'Service Slow Endpoint', w: 3, h: 250 },
     // Endpoint
     { o: 'ServiceEndpoint', d: 'endpointResponseTime', c: 'ChartNum', t: 'Endpoint Avg ResponseTime', w: 3, h: 250 },
@@ -46,7 +46,8 @@ export const queryChartData = {
     { o: 'ServiceEndpoint', d: 'endpointResponseTime', c: 'ChartLine', t: 'Endpoint ResponseTime', w: 3, h: 250 },
     { o: 'ServiceEndpoint', d: 'endpointThroughput', c: 'ChartLine', t: 'Endpoint Throughput', w: 3, h: 250 },
     { o: 'ServiceEndpoint', d: 'endpointSLA', c: 'ChartBar', t: 'Endpoint SLA', w: 3, h: 250 },
-    { o: 'ServiceEndpoint', d: 'endpointPercent', c: 'ChartLine', t: 'Endpoint Percent Response', w: 3, h: 250 },
+    { o: 'ServiceEndpoint', d: 'endpointPercent', c: 'ChartLine',
+      t: 'Endpoint Response Time Percentile', w: 3, h: 250},
     { o: 'ServiceEndpoint', d: 'endpointTraces', c: 'ChartSlow', t: 'Endpoint Slow', w: 3, h: 250 },
     { o: 'ServiceEndpoint', d: 'endpointTopology', c: 'ChartSankey', t: 'Dependency Map', w: 3, h: 250 },
     // instance
@@ -70,7 +71,7 @@ export const queryChartData = {
   database: [
       // global
       { o: 'Global', d: 'globalHeatmap', c: 'ChartHeatmap', t: 'Global Heatmap', w: 3, h: 250 },
-      { o: 'Global', d: 'globalPercent', c: 'ChartLine', t: 'Global Percent Response', w: 3, h: 250 },
+      { o: 'Global', d: 'globalPercent', c: 'ChartLine', t: 'Global Response Time Percentile', w: 3, h: 250 },
       { o: 'Global', d: 'globalBrief', c: 'ChartBrief', t: 'Global Brief', w: 3, h: 250 },
       { o: 'Global', d: 'globalThroughput', c: 'ChartTrace', t: 'Global Top Throughput', w: 3, h: 250 },
       { o: 'Global', d: 'globalSlow', c: 'ChartSlow', t: 'Global Top Slow Endpoint', w: 3, h: 250 },
@@ -81,7 +82,7 @@ export const queryChartData = {
       { o: 'Database', d: 'databaseResponseTime', c: 'ChartLine', t: 'Database ResponseTime', w: 3, h: 250 },
       { o: 'Database', d: 'databaseThroughput', c: 'ChartLine', t: 'Database Throughput', w: 3, h: 250 },
       { o: 'Database', d: 'databaseSLA', c: 'ChartBar', t: 'Database SLA', w: 3, h: 250 },
-      { o: 'Database', d: 'databasePercent', c: 'ChartLine', t: 'Database Percent', w: 3, h: 250 },
+      { o: 'Database', d: 'databasePercent', c: 'ChartLine', t: 'Database Response Time Percentile', w: 3, h: 250 },
       { o: 'Database', d: 'databaseTopNRecords', c: 'ChartSlow', t: 'Database TopN Records', w: 3, h: 250 },
   ],
 };