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/14 03:48:25 UTC

[skywalking-goapi] branch main updated: Sync query protocol for nullable metrics (#55)

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

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-goapi.git


The following commit(s) were added to refs/heads/main by this push:
     new 0c5a44b  Sync query protocol for nullable metrics (#55)
0c5a44b is described below

commit 0c5a44bb767a61fc1019db7b965045bdac1a38d3
Author: mrproliu <74...@qq.com>
AuthorDate: Tue Mar 14 11:48:21 2023 +0800

    Sync query protocol for nullable metrics (#55)
---
 dependencies.sh | 2 +-
 query/schema.go | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/dependencies.sh b/dependencies.sh
index 97da551..ac9be0d 100644
--- a/dependencies.sh
+++ b/dependencies.sh
@@ -18,7 +18,7 @@
 # under the License.
 
 export COLLECT_PROTOCOL_SHA=0da9c8b3e111fb51c9f8854cae16d4519462ecfe
-export QUERY_PROTOCOL_SHA=a530c33fac3f5890b5ba99f1f782e0eb32b646cd
+export QUERY_PROTOCOL_SHA=c051e82dbef00a160210ecd65911ee27dce253bf
 export ENVOY_SERVICE_PROTOCOL_SHA=533b32f1b390a3a88ec2008d0561e07c926d879a
 export XDS_SERVICE_PROTOCOL_SHA=25de7278fc844d392d607214f36dbedf50f167ee
 export PROTOC_VALIDATE_SHA=v0.6.1
diff --git a/query/schema.go b/query/schema.go
index 77127de..b245e7e 100644
--- a/query/schema.go
+++ b/query/schema.go
@@ -458,6 +458,11 @@ type Node struct {
 	IsReal bool    `json:"isReal"`
 }
 
+type NullableValue struct {
+	Value        int64 `json:"value"`
+	IsEmptyValue bool  `json:"isEmptyValue"`
+}
+
 type OndemandContainergQueryCondition struct {
 	ServiceInstanceID *string `json:"serviceInstanceId,omitempty"`
 }