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/08 07:47:19 UTC

[skywalking-query-protocol] 01/01: Add isEmptyValue flag to indicate clear meaning for value

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 a9a0b4949f2b74d5fc6d164699535ae1a2d1d758
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Mar 8 15:47:13 2023 +0800

    Add isEmptyValue flag to indicate clear meaning for value
---
 metric.graphqls | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/metric.graphqls b/metric.graphqls
index 6996bd4..bee2b1f 100644
--- a/metric.graphqls
+++ b/metric.graphqls
@@ -50,6 +50,8 @@ type KVInt {
     # 1. If ask for cpm metric, the unit and result should be count.
     # 2. If ask for response time (p99 or avg), the unit should be millisecond.
     value: Long!
+    # Since 9.5.0, isEmptyValue indicates whether value == 0 represents actually zero(false, default) or no data(true).
+    isEmptyValue: Boolean!
 }
 
 type Thermodynamic {