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/08/14 13:04:32 UTC

[skywalking-query-protocol] branch master updated: Update metrics-v2.graphqls (#43)

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 5ecefdf  Update metrics-v2.graphqls (#43)
5ecefdf is described below

commit 5ecefdf2c16ca16d4973806bdd26f9eafa3faf1d
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Fri Aug 14 21:04:24 2020 +0800

    Update metrics-v2.graphqls (#43)
    
    Make readMetricsValue return Long value.
---
 metrics-v2.graphqls | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/metrics-v2.graphqls b/metrics-v2.graphqls
index 0e4fcf2..2009aac 100644
--- a/metrics-v2.graphqls
+++ b/metrics-v2.graphqls
@@ -128,7 +128,7 @@ extend type Query {
     typeOfMetrics(name: String!): MetricsType!
 
     # Read metrics single value in the duration of required metrics
-    readMetricsValue(condition: MetricsCondition!, duration: Duration!): Int!
+    readMetricsValue(condition: MetricsCondition!, duration: Duration!): Long!
     # Read time-series values in the duration of required metrics
     readMetricsValues(condition: MetricsCondition!, duration: Duration!): MetricsValues!
     # Read entity list of required metrics and parent entity type.
@@ -141,4 +141,4 @@ extend type Query {
     # Read the sampled records
     # TopNCondition#scope is not required.
     readSampledRecords(condition: TopNCondition!, duration: Duration!): [SelectedRecord!]!
-}
\ No newline at end of file
+}