skywalking.postman_collection.json

{
    "info": {
        "_postman_id": "d9d7c326-9fdb-4805-88ae-e1a109022d38",
        "name": "skywalking",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
    },
    "item": [
        {
            "name": "getAllServices",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryServices($duration: Duration!,$keyword: String!) {\\n    services: getAllServices(duration: $duration, group: $keyword) {\\n      key: id\\n      label: name\\n      group\\n    }\\n  }\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-25 1605\",\n            \"end\": \"2021-08-25 1607\",\n            \"step\": \"MINUTE\"\n        },\n        \"keyword\": \"\"\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:12800/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "12800",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "getAllServices Copy",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryServices($duration: Duration!,$keyword: String!) {\\n    services: getAllServices(duration: $duration, group: $keyword) {\\n      key: id\\n      label: name\\n      group\\n    }\\n  }\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-31 18\",\n            \"end\": \"2021-08-31 19\",\n            \"step\": \"HOUR\"\n        },\n        \"keyword\": \"\"\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:12800/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "12800",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "getAllServices Copy 2",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryServices($duration: Duration!,$keyword: String!) {\\n    services: getAllServices(duration: $duration, group: $keyword) {\\n      key: id\\n      label: name\\n      group\\n    }\\n  }\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-31\",\n            \"end\": \"2021-08-31\",\n            \"step\": \"DAY\"\n        },\n        \"keyword\": \"\"\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:12800/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "12800",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "searchServices",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryServices($duration: Duration!,$keyword: String!) {\\n    services: searchServices(duration: $duration, keyword: $keyword) {\\n      key: id\\n      label: name\\n      }\\n  }\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-25 1605\",\n            \"end\": \"2021-08-25 1607\",\n            \"step\": \"MINUTE\"\n        },\n        \"keyword\": \"Your_ApplicationName\"\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:8080/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "8080",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "searchService",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryService($serviceCode: String!) {searchService(serviceCode: $serviceCode) {id name}}\",\n    \"variables\": {\n        \"serviceCode\": \"Your_ApplicationName\"\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:8080/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "8080",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "queryBasicTraces",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryTraces($condition: TraceQueryCondition) {\\n  data: queryBasicTraces(condition: $condition) {\\n    traces {\\n      key: segmentId\\n      endpointNames\\n      duration\\n      start\\n      isError\\n      traceIds\\n    }\\n    total\\n  }}\",\n    \"variables\": {\n        \"condition\": {\n            \"queryDuration\": {\n                \"start\": \"2021-08-25 160524\",\n                \"end\": \"2021-08-25 160724\",\n                \"step\": \"SECOND\"\n            },\n            \"traceState\": \"ALL\",\n            \"paging\": {\n                \"pageNum\": 1,\n                \"pageSize\": 15,\n                \"needTotal\": true\n            },\n            \"queryOrder\": \"BY_DURATION\",\n            \"tags\": []\n        }\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:8080/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "8080",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "getGlobalTopology",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryTopo($duration: Duration!) {\\n  topo: getGlobalTopology(duration: $duration) {\\n    nodes {\\n      id\\n      name\\n      type\\n      isReal\\n    }\\n    calls {\\n      id\\n      source\\n      detectPoints\\n      target\\n    }\\n  }}\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-25 1605\",\n            \"end\": \"2021-08-25 1607\",\n            \"step\": \"MINUTE\"\n        }\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:8080/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "8080",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "searchEndpoint",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\"query\":\"query queryEndpoints($serviceId: ID!, $keyword: String!) {\\n    getEndpoints: searchEndpoint(serviceId: $serviceId, keyword: $keyword, limit: 100) {\\n      key: id\\n      label: name\\n    }\\n}\",\"variables\":{\"serviceId\":\"WW91cl9BcHBsaWNhdGlvbk5hbWU=.1\",\"keyword\":\"\"}}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:8080/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "8080",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "getServiceInstances",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryInstances($serviceId: ID!, $duration: Duration!) {\\n    getServiceInstances(duration: $duration, serviceId: $serviceId) {\\n      key: id\\n      label: name\\n      language\\n      attributes {\\n        name\\n        value\\n      }\\n    }\\n  }\",\n    \"variables\": {\n        \"serviceId\": \"WW91cl9BcHBsaWNhdGlvbk5hbWU=.1\",\n        \"duration\": {\n            \"start\": \"2021-08-25 1605\",\n            \"end\": \"2021-08-25 1607\",\n            \"step\": \"MINUTE\"\n        }\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:8080/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "8080",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "service_cpm",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryData($condition: TopNCondition!, $duration: Duration!) {\\n  sortMetrics: sortMetrics(condition: $condition, duration: $duration) {\\n    name\\n    id\\n    value\\n    refId\\n  }}\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-25 1605\",\n            \"end\": \"2021-08-25 1607\",\n            \"step\": \"MINUTE\"\n        },\n        \"condition\": {\n            \"name\": \"service_cpm\",\n            \"parentService\": null,\n            \"normal\": true,\n            \"scope\": \"Service\",\n            \"topN\": 10,\n            \"order\": \"DES\"\n        }\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:12800/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "12800",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        },
        {
            "name": "service_resp_time",
            "request": {
                "method": "POST",
                "header": [],
                "body": {
                    "mode": "raw",
                    "raw": "{\n    \"query\": \"query queryData($condition: TopNCondition!, $duration: Duration!) {\\n  sortMetrics: sortMetrics(condition: $condition, duration: $duration) {\\n    name\\n    id\\n    value\\n    refId\\n  }}\",\n    \"variables\": {\n        \"duration\": {\n            \"start\": \"2021-08-25 1605\",\n            \"end\": \"2021-08-25 1607\",\n            \"step\": \"MINUTE\"\n        },\n        \"condition\": {\n            \"name\": \"service_resp_time\",\n            \"parentService\": null,\n            \"normal\": true,\n            \"scope\": \"Service\",\n            \"topN\": 10,\n            \"order\": \"DES\"\n        }\n    }\n}",
                    "options": {
                        "raw": {
                            "language": "json"
                        }
                    }
                },
                "url": {
                    "raw": "http://localhost:12800/graphql",
                    "protocol": "http",
                    "host": [
                        "localhost"
                    ],
                    "port": "12800",
                    "path": [
                        "graphql"
                    ]
                }
            },
            "response": []
        }
    ]
}

posted @ 2021-09-14 10:05  tonggc1668  阅读(179)  评论(0编辑  收藏  举报