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/11/30 23:29:19 UTC

(skywalking-query-protocol) branch master updated: Adding the optional layer parameter in the topology query (#127)

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

wusheng 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 e08b0a7  Adding the optional layer parameter in the topology query (#127)
e08b0a7 is described below

commit e08b0a78258a4c56e67076424add6bc2d0a1dd08
Author: mrproliu <74...@qq.com>
AuthorDate: Fri Dec 1 07:29:13 2023 +0800

    Adding the optional layer parameter in the topology query (#127)
---
 topology.graphqls | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/topology.graphqls b/topology.graphqls
index cf1f043..8328529 100644
--- a/topology.graphqls
+++ b/topology.graphqls
@@ -122,7 +122,8 @@ type Call {
 
 extend type Query {
     # Query the global topology
-    getGlobalTopology(duration: Duration!): Topology
+    # When layer is specified, the topology of this layer would be queried
+    getGlobalTopology(duration: Duration!, layer: String): Topology
     # Query the topology, based on the given service
     getServiceTopology(serviceId: ID!, duration: Duration!): Topology
     # Query the topology, based on the given services.