You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/05/13 13:19:51 UTC
[GitHub] [skywalking] wu-sheng commented on issue #2654: [WIP]New topology
query protocol implementation
wu-sheng commented on issue #2654: [WIP]New topology query protocol implementation
URL: https://github.com/apache/skywalking/pull/2654#issuecomment-491819009
I am using this graphQL query the topology
```graphQL
{
getGlobalTopology(duration:{step:MINUTE, start: "2019-05-13 2100", end: "2019-05-13 2130"}){
nodes{
id
type
isReal
name
},
calls{
id
detectPoints
source
target
sourceComponents
targetComponents
}
}
}
```
The new topology result is
```graphQL
{
"data": {
"getGlobalTopology": {
"nodes": [
{
"id": "1",
"type": "USER",
"isReal": false,
"name": "User"
},
{
"id": "2",
"type": "Tomcat",
"isReal": true,
"name": "dubbox-consumer"
},
{
"id": "3",
"type": "Dubbo",
"isReal": true,
"name": "dubbox-provider"
},
{
"id": "4",
"type": "rocketMQ-consumer",
"isReal": true,
"name": "rocket-mq-consumer"
},
{
"id": "6",
"type": "MongoDB",
"isReal": false,
"name": "localhost:27017"
},
{
"id": "7",
"type": "RocketMQ",
"isReal": false,
"name": "RocketMQAddress:2000"
}
],
"calls": [
{
"id": "2_3",
"detectPoints": [
"CLIENT",
"SERVER"
],
"source": "2",
"target": "3",
"sourceComponents": [
"Dubbo"
],
"targetComponents": [
"Dubbo"
]
},
{
"id": "3_6",
"detectPoints": [
"CLIENT"
],
"source": "3",
"target": "6",
"sourceComponents": [
"mongodb-driver"
],
"targetComponents": []
},
{
"id": "3_7",
"detectPoints": [
"CLIENT"
],
"source": "3",
"target": "7",
"sourceComponents": [
"rocketMQ-producer"
],
"targetComponents": []
},
{
"id": "1_2",
"detectPoints": [
"SERVER"
],
"source": "1",
"target": "2",
"sourceComponents": [],
"targetComponents": [
"Tomcat"
]
},
{
"id": "7_4",
"detectPoints": [
"SERVER"
],
"source": "7",
"target": "4",
"sourceComponents": [],
"targetComponents": [
"rocketMQ-consumer"
]
}
]
}
}
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services