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

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

commit e26627dfcea8d961fbb1c48cfb8e30c817746095
Author: Hoshea <fgk...@gmail.com>
AuthorDate: Tue Apr 12 15:10:39 2022 +0800

    sync query protocol
---
 dependencies.sh | 2 +-
 query/schema.go | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/dependencies.sh b/dependencies.sh
index 80ce881..d0772e4 100644
--- a/dependencies.sh
+++ b/dependencies.sh
@@ -18,7 +18,7 @@
 # under the License.
 
 export COLLECT_PROTOCOL_SHA=f9066463deb7f9d1fbe8110eab3524694b0db298
-export QUERY_PROTOCOL_SHA=50fbae4f53be6ab5d153c2a0e84a68a7bc2d0d1e
+export QUERY_PROTOCOL_SHA=aa845d56d114b89ac90bfefdda7d89e0cd144658
 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 6fe2dc7..b3854c5 100644
--- a/query/schema.go
+++ b/query/schema.go
@@ -223,6 +223,7 @@ type Event struct {
        Parameters []*KeyValue `json:"parameters"`
        StartTime  int64       `json:"startTime"`
        EndTime    *int64      `json:"endTime"`
+       Layer      string      `json:"layer"`
 }
 
 type EventQueryCondition struct {
@@ -232,6 +233,7 @@ type EventQueryCondition struct {
        Type   *EventType   `json:"type"`
        Time   *Duration    `json:"time"`
        Order  *Order       `json:"order"`
+       Layer  *string      `json:"layer"`
        Paging *Pagination  `json:"paging"`
 }
 

Reply via email to