pingmesh-netident内server之间拓扑
GET
https://api.flashcat.cloud/api/n9e-plus/pingmesh/servers/topology/idc/23/netident/5/ui
pingmesh
最后修改时间:2024-03-08 11:32:02
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e-plus/pingmesh/servers/topology/idc/23/netident/5/ui?protocol=tcp&metric=&datasource_id='
响应示例响应示例
{
"dat": {
"metric": {
"name": "net_response_response_time",
"aggregate": "max"
},
"protocol": "tcp",
"port": "",
"start": 1696834153,
"end": 1696834153,
"idc": {
"id": 23,
"name": "idc2"
},
"net_ident_info": {
"id": 5,
"name": "10.206.0.13/32"
},
"topology": [
{
"name": "10.206.0.13",
"ident": "tt-fc-es02.nj",
"targets": [
{
"name": "10.206.0.13:8080",
"tags": {
"ident": "tt-fc-es02.nj",
"protocol": "tcp",
"sidc": "23#idc2",
"snet_ident": "10.206.0.13/32",
"target": "10.206.0.13:8080",
"tidc": "23#idc2",
"tnet_ident": "10.206.0.13/32"
},
"values": [
{
"timestamp": 1696834140,
"value": 0
}
]
},
{
"name": "10.206.0.13:9099",
"tags": {
"ident": "tt-fc-es02.nj",
"protocol": "tcp",
"sidc": "23#idc2",
"snet_ident": "10.206.0.13/32",
"target": "10.206.0.13:9099",
"tidc": "23#idc2",
"tnet_ident": "10.206.0.13/32"
},
"values": [
{
"timestamp": 1696834140,
"value": -1
}
]
}
]
}
]
},
"err": ""
}
请求参数
Query 参数
timestamp
integer
0为获取最新值
protocol
string
协议
示例值:
tcp
port
string
可选
示例值:
qos:1000
metric
string
必需
tcp/udp: 最大延时: net_response_response_time
datasource_id
integer
数据源id
Header 参数
Authorization
string
可选
示例值:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjRlNzYxNmY2LWFjZGUtNGNlNS04MmE3LTBiMTgyYzJjYzQ2ZiIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTcwMDA0NjQxNiwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9.Xe_fI7H2tUnLtnwe7fkI4wT0DBYetLkUWG2O_0KuoYM