You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ta...@apache.org on 2020/01/10 06:29:27 UTC

[skywalking-query-protocol] branch master updated: Update metric.graphqls (#28)

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

tanjian 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 0c2dfa1  Update metric.graphqls (#28)
0c2dfa1 is described below

commit 0c2dfa18862596ed6790e2db0245b8f5af64e156
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Fri Jan 10 14:29:16 2020 +0800

    Update metric.graphqls (#28)
---
 metric.graphqls | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/metric.graphqls b/metric.graphqls
index 55db791..031c0af 100644
--- a/metric.graphqls
+++ b/metric.graphqls
@@ -69,5 +69,10 @@ type Thermodynamic {
 extend type Query {
     getValues(metric: BatchMetricConditions!, duration: Duration!): IntValues
     getLinearIntValues(metric: MetricCondition!, duration: Duration!): IntValues
+    # Query the type of metrics including multiple values, and format them as multiple linears.
+    # The seq of these multiple lines base on the calculation func in OAL
+    # Such as, should us this to query the result of func percentile(50,75,90,95,99) in OAL,
+    # then five lines will be responsed, p50 is the first element of return value.
+    getMultiLinearsIntValues(metric: MetricCondition!, duration: Duration!): [IntValues!]!
     getThermodynamic(metric: MetricCondition!, duration: Duration!): Thermodynamic
 }