You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/04/18 05:53:49 UTC

[skywalking-query-protocol] branch master updated: Fix readMetricsValues return value.

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-query-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new 36bfc76  Fix readMetricsValues return value.
36bfc76 is described below

commit 36bfc7680d10fc1fd0a274751e65d5b03de84a9c
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sat Apr 18 13:53:00 2020 +0800

    Fix readMetricsValues return value.
---
 metrics-v2.graphqls | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metrics-v2.graphqls b/metrics-v2.graphqls
index f262f14..0ed5f10 100644
--- a/metrics-v2.graphqls
+++ b/metrics-v2.graphqls
@@ -121,7 +121,7 @@ extend type Query {
     # Read metrics single value in the duration of required metrics
     readMetricsValue(condition: MetricsCondition!, duration: Duration!): Int!
     # Read time-series values in the duration of required metrics
-    readMetricsValues(condition: MetricsCondition!, duration: Duration!): [MetricsValues!]!
+    readMetricsValues(condition: MetricsCondition!, duration: Duration!): MetricsValues!
     # Read entity list of required metrics and parent entity type.
     sortMetrics(condition: TopNCondition!, duration: Duration!): [SelectedRecord!]!
     # Read value in the given time duration, usually as a linear.