You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2018/09/28 09:33:21 UTC

[incubator-skywalking-ui] branch 6.0.0/dev updated: Update metirc name for endpoint

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

hanahmily pushed a commit to branch 6.0.0/dev
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking-ui.git


The following commit(s) were added to refs/heads/6.0.0/dev by this push:
     new 06206ca  Update metirc name for endpoint
06206ca is described below

commit 06206ca0decff21b2130fae216b617f128ea04ac
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Fri Sep 28 17:32:45 2018 +0800

    Update metirc name for endpoint
---
 src/models/endpoint.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/models/endpoint.js b/src/models/endpoint.js
index 8209902..00d4d8c 100644
--- a/src/models/endpoint.js
+++ b/src/models/endpoint.js
@@ -31,7 +31,7 @@ const optionsQuery = `
 const dataQuery = `
   query Endpoint($endpointId: ID!, $duration: Duration!, $traceCondition: TraceQueryCondition!) {
     getEndpointResponseTimeTrend: getLinearIntValues(metric: {
-      name: "endpointResponseTimeTrend"
+      name: "endpoint_avg"
       id: $endpointId
     }, duration: $duration) {
       values {
@@ -39,7 +39,7 @@ const dataQuery = `
       }
     }
     getEndpointThroughputTrend: getLinearIntValues(metric: {
-      name: "endpointResponseTimeTrend"
+      name: "endpoint_cpm"
       id: $endpointId
     }, duration: $duration) {
       values {
@@ -47,7 +47,7 @@ const dataQuery = `
       }
     }
     getEndpointSLATrend: getLinearIntValues(metric: {
-      name: "endpointResponseTimeTrend"
+      name: "endpoint_sla"
       id: $endpointId
     }, duration: $duration) {
       values {