가져오기¶
GET /api/v1/service_manage/performance/get
개요¶
단일 서비스 성능 정보를 가져옵니다.
Query 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| start | integer | Y | 시간 시작, 단위 ms |
| end | integer | Y | 시간 종료, 단위 ms |
| serviceName | string | Y | 서비스 이름 빈 값 허용: False 빈 문자열 허용: False |
매개변수 추가 설명¶
요청 예시¶
curl 'https://openapi.guance.com/api/v1/service_manage/performance/get?end=1693810693999&start=1693767493000&serviceName=anypath' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed
응답¶
{
"code": 200,
"content": {
"__docid": "a3d7f56895c1476a411986f1bf59c6d0",
"avg_per_second": 1.5411574074074075,
"avg_resp_time": 192929.50521193186,
"checkerInfo": [
{
"name": "Test {{host}}",
"type": "simpleCheck",
"uuid": "rul_xxxx32"
},
{
"name": "Host{{host}}",
"type": "simpleCheck",
"uuid": "rul_xxxx32"
},
{
"name": "dcl test",
"type": "simpleCheck",
"uuid": "rul_xxxx32"
}
],
"dfStatus": "critical",
"env": "test1",
"error_count": 132,
"error_rate": 0.001982636907086425,
"isFavorite": 0,
"key": "anypath",
"max_duration": 212448,
"p50": 192983,
"p75": 192983,
"p90": 192983,
"p95": 192983,
"p99": 192983,
"service": "anypath",
"source_type": "web",
"sum_resp_time": 12844860598,
"total_count": 66578,
"type": "web",
"uuid": "sman_xxxx32",
"version": "gin1.1"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-9590059F-463F-4669-859F-3E53F020AAEA"
}