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 14:36:28 UTC

[skywalking-query-protocol] 02/02: Change heatmap definition.

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

commit 3751b2e570797286cf51ecfdae78a7059d805bac
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sat Apr 18 22:35:40 2020 +0800

    Change heatmap definition.
---
 metrics-v2.graphqls | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/metrics-v2.graphqls b/metrics-v2.graphqls
index 502cc7d..a964296 100644
--- a/metrics-v2.graphqls
+++ b/metrics-v2.graphqls
@@ -91,11 +91,16 @@ type MetricsValues {
 type HeatMap {
     # Each element of values matches the time point of the query duration.
     # The element in the IntValues represents the value of the same index bucket
-    values: [IntValues!]!
+    values: [HeatMapColumn!]!
     # Bucket describes the ranges of #values represent.
     buckets: [Bucket!]!
 }
 
+type HeatMapColumn {
+    id: ID!
+    values: [Long!]!
+}
+
 # Bucket represents the value range.
 type Bucket {
     # The min value of this bucket representing.