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 2023/03/09 12:08:46 UTC

[skywalking-query-protocol] branch wu-sheng-patch-1 created (now ef3ba7f)

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

wusheng pushed a change to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git


      at ef3ba7f  Support empty value for query single value

This branch includes the following new commits:

     new ef3ba7f  Support empty value for query single value

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking-query-protocol] 01/01: Support empty value for query single value

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch wu-sheng-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking-query-protocol.git

commit ef3ba7f1ac796e07f0d885c31325610776773053
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Thu Mar 9 20:08:42 2023 +0800

    Support empty value for query single value
---
 metrics-v2.graphqls | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/metrics-v2.graphqls b/metrics-v2.graphqls
index 091ba42..b3c47b4 100644
--- a/metrics-v2.graphqls
+++ b/metrics-v2.graphqls
@@ -145,6 +145,9 @@ extend type Query {
 
     # Read metrics single value in the duration of required metrics
     readMetricsValue(condition: MetricsCondition!, duration: Duration!): Long!
+    # Read metrics single value in the duration of required metrics
+    # IntValues#values#isEmptyValue == true indicates no telemetry data rather than aggregated value is actually zero.
+    readNullableMetricsValue(condition: MetricsCondition!, duration: Duration!): IntValues
     # 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.