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/20 06:07:42 UTC

[skywalking-query-protocol] branch master updated: Change bucket data type to support `infinite`.

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 68ad27b  Change bucket data type to support `infinite`.
68ad27b is described below

commit 68ad27b9bb9a35e1b5307094d0a7d977ef67b6cf
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Mon Apr 20 14:06:55 2020 +0800

    Change bucket data type to support `infinite`.
---
 metrics-v2.graphqls | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/metrics-v2.graphqls b/metrics-v2.graphqls
index a964296..91f608e 100644
--- a/metrics-v2.graphqls
+++ b/metrics-v2.graphqls
@@ -103,10 +103,12 @@ type HeatMapColumn {
 
 # Bucket represents the value range.
 type Bucket {
-    # The min value of this bucket representing.
-    min: Int!
-    # The max value of this bucket representing.
-    max: Int!
+    # Usually the number represents the min value of this bucket,
+    # could be `infinite-` string as unbounded value
+    min: String!
+    # Usually the number represents the max value of this bucket,
+    # could be `infinite+` string as unbounded value
+    max: String!
 }
 
 type SelectedRecord {