수집 중인 모니터링 정보를 추출하여 별도로 활용하고자 하는 경우 Open API를 통해 해당 정보를 추출할 수 있는 기능을 제공합니다. 계정 API 토큰 및 프로젝트 API 토큰, 프로젝트 코드를 파라미터로 전달하여 수집된 정보를 획득할 수 있습니다.
구 버전의 Open API 문서는 다음 문서를 참조하세요.
토큰은 계정 API 토큰과 프로젝트 API 토큰으로 구분됩니다. 계정 API 토큰은 프로젝트의 목록 정보를 취득하기 위한 용도로, 프로젝트 API 토큰은 프로젝트의 모니터링 정보를 취득하기 위한 용도로 활용합니다.
프로젝트 코드는 프로젝트 진입 시 브라우저 화면 상단의 윈도우 또는 탭 제목에 '[{프로젝트 코드}] Cloud Application Monitoring'와 같이 표시되는 정보를 통해 확인할 수 있습니다. API 토큰을 변경하려면 각 화면의 재발급 또는 토큰 재발급 버튼을 선택하세요.
| 구분 | 키 | 설정값 | 비교 |
|---|---|---|---|
| 헤더 | x-whatap-token |
API토큰 | 계정 API토큰 |
| 헤더 | x-whatap-token |
API토큰 | 프로젝트 API토큰 |
| 헤더 | x-whatap-pcode |
프로젝트 코드 | 화면 윈도우 또는 브라우저 탭 타이틀 확인 |
화면의 오른쪽 위에 프로필 아이콘을 선택하세요.
팝업 메뉴가 나타나면 계정 관리 버튼을 선택하세요.
화면을 아래로 스크롤해 API토큰 섹션으로 이동하세요.
홈 화면에서 프로젝트를 선택하세요.
프로젝트 진입 후 왼쪽에 관리 > 프로젝트 관리 메뉴를 선택하세요.
API토큰 항목을 확인하세요.
프로젝트 목록을 조회하는 API입니다.
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
Array of objects | |
| accountEmail | string 사용자 계정 이메일 주소 |
| total | integer 프로젝트 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{ACCOUNT_API_TOKEN}}" \ "https://api.whatap.io/open/api/json/projects"
{- "data": [
- {
- "projectCode": 35,
- "projectName": "APM_TEST2",
- "createTime": "2018-10-19T07:17:03.774",
- "status": "subscribe",
- "productType": "APM",
- "platform": "JAVA",
- "apiToken": "5**********************R"
}
], - "accountEmail": "xxx@whatap.io",
- "total": 6
}애플리케이션 및 서버 제품의 프로젝트 정보를 조회하는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| platform | string 애플리케이션 제품 플랫폼 |
| createTime | string 프로젝트 생성 날짜 |
| gatewayName | string 데이터 서버 지역 |
| projectCode | number 프로젝트 코드 |
| status | string Enum: "pending" "trial" "subscribe" "close_pending" "limited" "closed" "trial_limited" 프로 젝트 상태 |
| lastUpdatedTime | string 프로젝트 수정 날짜 |
| name | string 프로젝트 이름 |
| productType | string 애플리케이션 제품 유형 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/project"
{- "platform": "JAVA",
- "createTime": "Tue Sep 18 08:34:27 GMT 2018",
- "gatewayName": "Office-OTE",
- "projectCode": 1234,
- "status": "Subscribe",
- "lastUpdatedTime": "Tue Sep 18 08:34:34 GMT 2018",
- "name": "SEO_APM",
- "productType": "APM"
}프로젝트에 소속된 멤버 목록을 조회하는 API입니다.
| projectCode required | integer 프로젝트 코드 |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
Array of objects | |
| total | integer 프로젝트 멤버 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{ACCOUNT_API_TOKEN}}" \ "https://api.whatap.io/open/api/json/project/{projectCode}/members"
{- "data": [
- {
- "email": "honggildong@whatap.io",
- "name": "홍길동",
- "desc": "",
- "sms": "010XXXXXXX"
}
], - "total": 8
}사용자가 소속된 그룹 목록을 조회하는 API입니다.
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
Array of objects | |
| total | integer 그룹 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{ACCOUNT_API_TOKEN}}" \ "https://api.whatap.io/open/api/v2/json/groups"
{- "data": [
- {
- "groupName": "WHATAP APM",
- "groupKey": "grp****ab123kskd*****q",
- "description": "APM Group"
}
], - "total": 3
}사용자가 소속된 그룹의 멤버 목록을 조회하는 API입니다.
| groupKey required | integer 그룹 고유 식별자(ID) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
Array of objects | |
| total | integer 그룹 멤버 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{ACCOUNT_API_TOKEN}}" \ "https://api.whatap.io/open/api/json/group/{groupKey}/members"
{- "data": [
- {
- "email": "honggildong@whatap.io",
- "name": "홍길동",
- "desc": "",
- "sms": "010XXXXXXX"
}
], - "total": 8
}그룹에 포함된 프로젝트들의 메타정보를 조회하는 API입니다.
| groupKey required | integer 그룹 고유 식별자(ID) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
Array of objects | |||||||||||||
Array
| |||||||||||||
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{ACCOUNT_API_TOKEN}}" \ "https://api.whatap.io/open/api/json/group/{groupKey}/projects"
{- "data": [
- {
- "projectCode": 35,
- "name": "APM_TEST2",
- "status": "Subscribe",
- "productType": "APM",
- "platform": "JAVA",
- "gatewayName": "LOCAL"
}
]
}프로젝트 내 에어전트의 상태 및 IP 주소를 조회하는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |||||||
Array
| |||||||
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/json/agents"
{- "data": [
- {
- "host_ip": "127.0.0.1",
- "oname": "TC-29-96-8082",
- "active": true
}
]
}사용자가 조회를 원하는 시간 동안 활성화된 에이전트 정보를 조회할 수 있는 API입니다. 조회 시간(stime, etime)은 하루로 제한되며, 시간 단위는 ms(millisecond, ms)입니다.
예시에서 작성된 샘플 코드 중 stime, etime 파라미터 값은 사용자 환경에 맞게 변경해 사용하세요. 파라미터 값은 다양한 포맷으로 변경해 요청할 수 있습니다.
yyyyMMddHHmmssyyyyMMddHHmmMMddHHmmssMMddHHmm| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| stime | long 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | long 조회 종료 시간(UNIX epoch time, millisecond) |
| stime | long 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | long 조회 종료 시간(UNIX epoch time, millisecond) |
| timestamp | long 데이터 생성 시간(UNIX epoch time, millisecond) |
Array of objects |
{- "stime": 1690850183000,
- "etime": 1693321200000
}{- "stime": 1690850183000,
- "etime": 1693321200000,
- "timestamp": 1693388196965,
- "data": [
- {
- "oid": 757639646,
- "oname": "DBX-0-107-3306",
- "alias": "",
- "initial": "",
- "otype": "database",
- "subtype": "0",
- "active": false,
- "okind": 0,
- "okindName": "",
- "onode": 0,
- "onodeName": "",
- "ip": "",
- "agent.version": "",
- "cpuCores": 0
}
]
}이벤트 설정 New 메뉴의 [JSON 일괄 다운로드]와 같은 데이터를 조회할 수 있습니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| productType | string 프로젝트의 제품 유형 |
| platform | string 프로젝트의 제품 플랫폼 |
object 이벤트 타입별 설정 리스트 |
curl --location \ -w "\n" \ -H "Content-Type: application/json" \ -H 'x-whatap-token: {{PROJECT_API_TOKEN}}' \ -H 'x-whatap-pcode: {{projectCode}}' \ "https://api.whatap.io/open/api/json/event/v2/settings"
[- {
- "productType": "APM",
- "platform": "JAVA",
- "events": [
- {
- "BASIC": [
- {
- "criticalEnabled": false,
- "warningEnabled": true,
- "silentPeriod": 300000,
- "metaId": "java004",
- "displayName": "Active Transaction",
- "criticalThreshold": "",
- "warningThreshold": "active_tx_count > 100",
- "message": "Active Transaction = ${active_tx_count}",
- "version": 2,
- "enabled": false,
- "repeatDuration": 0,
- "id": "x3gpgkfnnc3f39",
- "conditions": [
- {
- "level": 20,
- "rule": "active_tx_count > 100",
- "enabled": true
}
], - "selectCondition": { },
- "stateful": false,
- "repeatCount": 1
}, - {
- "criticalEnabled": true,
- "warningEnabled": true,
- "silentPeriod": 300000,
- "metaId": "java002",
- "displayName": "Server Memory",
- "criticalThreshold": "mem > 90",
- "warningThreshold": "mem > 70",
- "message": "Server Memory = ${mem}",
- "version": 2,
- "enabled": false,
- "repeatDuration": 0,
- "id": "xc1l4q6pdefcf",
- "conditions": [
- {
- "level": 30,
- "rule": "mem > 90",
- "enabled": true
}, - {
- "level": 20,
- "rule": "mem > 70",
- "enabled": true
}
], - "selectCondition": { },
- "stateful": false,
- "repeatCount": 1
}
], - "METRICS": [
- {
- "eventMessage": "메트릭스: tx_count: ${tx_count}",
- "select": "${oname} == 'eureka'",
- "alertLabel": [ ],
- "rule": "${tx_count} >= 120",
- "silentSec": 0,
- "version": 0,
- "enabled": true,
- "eventTitle": "트랜잭션 개수 120 초과",
- "repeatDuration": 0,
- "eventLevel": 30,
- "id": "z9jqlbn0217eml",
- "category": "app_counter",
- "conditions": [
- {
- "level": 30,
- "rule": "${tx_count} >= 120",
- "enabled": true
}
], - "stateful": true,
- "repeatCount": 0
}
], - "COMPOSITE_METRICS": [
- {
- "interval_sec": 60,
- "query": "CATEGORY app_counter\nTAGLOAD\nSELECT\nGROUP { timeunit:1m, merge:\"tx_count\", pk:\"oid\" }\nCREATE { key: _pk_, value: \"oid\" }",
- "rule": "tx_count > 5",
- "event_title": "key oid",
- "enabled": false,
- "silent_sec": 60,
- "event_level": 20,
- "id": "z8aadoam9thlqp",
- "time_trim": 5000,
- "event_message": "tx_count : ${tx_count}",
- "time_period": 60000,
- "stateful": true,
- "desc": "{\"widgetType\":\"EXPERT\",\"supports\":[],\"isExpertEditable\":false,\"flexEventWidget\":{\"widgetType\":\"FLEX_EVENT\",\"id\":\"composite_metrics_widget\",\"requestApi\":\"LAST\",\"option\":{\"stime\":1751591820000,\"etime\":1751595420000,\"isLive\":false,\"liveUpdateIntervalSec\":0,\"globalTime\":false,\"chart\":\"SERIES\",\"pcodes\":[4],\"flex_event\":{\"category\":\"app_counter\",\"tagPksGroup\":{\"pks\":[\"oid\"],\"timeunit\":5000},\"fieldsWithMerges\":[{\"key\":\"httpc_count\",\"timeMerge\":\"AVG\",\"objectMerge\":\"AVG\",\"unit\":\"COUNT\",\"_label\":\"92a1f326-b9b7-45c7-8c9f-6bc4b023ac0f\"}]},\"chartAside\":{\"chart\":\"TABLE\"},\"timeAction\":\"CUSTOM\"},\"metrics\":[{\"mql\":\"INJECT timepast\\nHEADER { \\\"httpc_count$\\\":\\\"COUNT\\\" }\\nOIDSET { oid:$oid, okind:$okind, onode:$onode }\\nCATEGORY \\\"app_counter\\\"\\nTAGLOAD\\nINJECT default\\nUPDATE {key: httpc_count, value: avg}\\nGROUP {pk:[oid], timeunit: 5000}\\nUPDATE {key: httpc_count, value: avg}\\nCREATE {key: _id_, expr:\\\"oid\\\"}\\nCREATE {key: _name_, expr:\\\"oid\\\"} \\nSELECT [_name_, _id_, time, oid, httpc_count]\\n\"}]},\"pcode\":4}"
}
], - "TRANSACTION": [
- {
- "silentTime": "60000,",
- "appCtx": [ ],
- "excludeStatus": [
- "gg"
], - "errorClass": [ ],
- "errorMessage": [ ],
- "excludeErrorMessage": [ ],
- "enabled": true,
- "url": [
- "**/pusan"
], - "excludeUrl": [
- "*add*"
], - "excludeErrorClass": [ ],
- "eventTitle": "트랜잭션 이벤트",
- "eventLevel": 20,
- "limit": 1,
- "conditionValue": 0,
- "conditionType": "none",
- "id": "z8c3sdrt04jpcs",
- "resultType": "per-agent",
- "excludeAppCtx": [ ],
- "status": [ ]
}
]
}
]
}
]프로젝트에서 발생한 이벤트 기록을 조회할 수 있습니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| progress | boolean
|
| oid | integer <int32>
|
| okinds | integer <int32>
|
| onodes | integer <int32>
|
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| metricName | string 지표 이름 |
| pcode | integer 프로젝트 코드 |
| onodeName | string 서버별 에이전트 그룹 이름 |
| displayTag | string 이벤트 상태 태그 표시를 위한 값 |
| metricValue | float 지푯값 |
| oid | integer 에이전트 고유 식별자(ID) |
| title | string 이벤트 제목 |
| uuid | integer 이벤트 고유 식별자 |
| okind | integer 종류별 에이전트 그룹 고유 식별자(ID) |
| ackCount | integer 처리 내역 개수 |
| eventTime | long 이벤트 발생 시간 |
| disabled | boolean 이벤트 종료 여부
|
| id | integer 이벤트 고유 식별자(ID) |
| acknowledges | Array of arrays 처리 내역 |
| stateful | boolean 해소된 이벤트 알림 기능 사용 여부 |
| product | string 서버 유형 |
| level | string 경고 레벨 |
| updateTime | long 이벤트 업데이트 시간 |
| message | string 이벤트 메시지 |
| metricThreshold | string 임계치 |
| oname | string 에이전트 이름 |
| escalation | boolean 반복 알림 여부 |
| tagCount | boolean TagCount 카테고리 이벤트 여부 |
| systemEvent | boolean 시스템 이벤트 여부 |
| offTime | integer 해소된 시각 |
| category | string TagCount 카테고리 |
| okindName | string 종류별 에이전트 그룹 이름 |
| onode | integer 서버별 에이전트 그룹 고유 식별자(ID) |
| snapshot | string 이벤트 발생 시점의 스냅샷(서버 기본 이벤트만 해당) |
| status | string 이벤트 상태 |
curl --location \ -w "\n" \ -H "Content-Type: application/json" \ -H 'x-whatap-token: {{PROJECT_API_TOKEN}}' \ -H 'x-whatap-pcode: {{projectCode}}' \ "https://api.whatap.io/open/api/json/event/history?stime=1733065200000&etime=1733103557000&progress=true&oids=-17079562%2C352247167"
[- {
- "metricName": "mem",
- "pcode": "7",
- "onodeName": "",
- "displayTag": "inprogress",
- "metricValue": "99.73802",
- "oid": -17079562,
- "title": "Server Memory",
- "uuid": "c5cf01fe9daf43ce99a9028e0a804d35",
- "okind": "0,",
- "ackCount": "0,",
- "eventTime": "1733288350068,",
- "disabled": "false,",
- "id": "44,",
- "acknowledges": [ ],
- "stateful": true,
- "process": 0,
- "product": "ap",
- "level": "Critical",
- "triggerId": 0,
- "updateTime": 1733288350128,
- "message": "Server Memory = 99.738",
- "metricThreshold": "90",
- "oname": "front",
- "escalation": true,
- "tagCount": true,
- "systemEvent": false,
- "offTime": 0,
- "category": "app_host_resource",
- "okindName": "",
- "onode": 0,
- "snapshot": null,
- "status": "ON"
}, - {
- "metricName": "cpu",
- "pcode": 7,
- "onodeName": "",
- "displayTag": "inprogress",
- "metricValue": "19.947985",
- "oid": -17079562,
- "title": "Server CPU",
- "uuid": "5d7a40d11a1144a8b7bad7e2c71cda2e",
- "okind": 0,
- "ackCount": 0,
- "eventTime": 1733288325022,
- "disabled": false,
- "id": 42,
- "acknowledges": [ ],
- "stateful": true,
- "process": 0,
- "product": "ap",
- "level": "Warning",
- "triggerId": 0,
- "updateTime": 1733288325055,
- "message": "Server CPU = 19.948",
- "metricThreshold": "0",
- "oname": "front",
- "escalation": false,
- "tagCount": true,
- "systemEvent": false,
- "offTime": 0,
- "category": "app_host_resource",
- "okindName": "",
- "onode": 0,
- "snapshot": null,
- "status": "ON"
}
]애플리케이션 모니터링 프로젝트의 모든 정보를 조회하는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코드 |
| act_agent | string 활성화 상태의 에이전트 수 |
| inact_agent | string 비활성화 상태의 에이전트 수 |
| host | string 호스트(HOST) 수 |
| cpucore | string 호스트의 CPU 코어 수 합계 |
| txcount | string 트랜잭션 갯수 |
| tps | string TPS |
| user | string 액티브 사용자(5분) |
| actx | string 액티브 트랜잭션 |
| rtime | string 평균 응답시간(ms) |
| cpu | string 평균 CPU 사용률(%) |
| threadpool_active | string 스레드풀 활성 스레드 수 |
| threadpool_queue | string 스레드풀 큐잉 스레드 수 |
| dbconn_total | string 전체 DB Connection 수 |
| dbconn_act | string 활성(Active) 상태의 DB Connection 수 |
| dbconn_idle | string 유휴(Idle) 상태의 DB Connection 수 |
| act_method | string 활성 메소드(Method) 수 |
| act_sql | string 활성 SQL 수 |
| act_httpc | string 활성 HTTP Call 수 |
| act_dbc | string 활성 데이터베이스 커넥션 수 |
| act_socket | string 활성 소켓(Socket) 연결 수 |
| apdex | string Apdex(Application Performance Index, 애플리케이션의 사용자 만족도) |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/spot"
{- "pcode": 8,
- "act_agent": "6",
- "inact_agent": "6",
- "host": "1",
- "cpucore": "2",
- "txcount": "459",
- "tps": "93.07",
- "user": "1007",
- "actx": "149",
- "rtime": "1873",
- "cpu": "29.35",
- "threadpool_active": "0",
- "threadpool_queue": "0",
- "dbconn_total": "600.0",
- "dbconn_act": "239.0",
- "dbconn_idle": "361.0",
- "act_method": "51",
- "act_sql": "24",
- "act_httpc": "64",
- "act_dbc": "10",
- "act_socket": "0",
- "apdex": "0.9871"
}애플리케이션 모니터링 프로젝트에서 활성화 상태의 에이전트 수를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
활성화 상태의 에이전트 수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/act_agent"
5애플리케이션 모니터링 프로젝트에서 비활성화 상태의 에이전트 수를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
비활성화 상태의 에이전트 수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/inact_agent"
2애플리케이션 모니터링 프로젝트와 연결된 호스트(HOST) 수를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
호스트(HOST) 개수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/host"
5애플리케이션 모니터링 프로젝트와 연결된 호스트(HOST)의 CPU 코어 합계를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
CPU 코어 개수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/cpucore"
16애플리케이션 모니터링 프 로젝트에서 트랜잭션 개수를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
트랜잭션 개수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/txcount"
469애플리케이션 모니터링 프로젝트에서 초당 처리된 트랜잭션 건수(Transaction per second, TPS)를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
초당 처리된 트랜잭션 건수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/tps"
92.03애플리케이션 모니터링 프로젝트에서 최근 5분 이내에 트랜잭션을 발생시킨 사용자를 측정한 동시 접속 사용자를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
5분 동안 실시간 사용자 수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/user"
1007애플리케이션 모니터링 프로젝트에서 액티브 트랜잭션 수를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
액티브 트랜잭션 수
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/actx"
171애플리케이션 모니터링 프로젝트에서 평균 응답시간을 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
평균 응답시간
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/rtime"
1644애플리케이션 모니터링 프로젝트에서 평균 CPU 사용률을 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
평균 CPU 사용률
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/cpu"
9.26애플리케이션 모니터링 프로젝트에서 Apdex(Application Performance Index, 애플리케이션의 사용자 만족도)를 조회할 수 있는 API입니다.
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Apdex
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/apdex"
0.9871애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 Exception 처리된 내역을 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |
| total | integer 전체 예외 레코드 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/exception/{stime}/{etime}"
{- "records": [
- {
- "oids": "[-1459620666]",
- "time": 1535557500000,
- "classHash": -1811136020,
- "count": 14,
- "service": "/account/delete/dept/daegu",
- "class": "java.sql.SQLException(0)",
- "serviceHash": 1900616259,
- "snapSeq": "6068699991557528332",
- "msg": "Sql Exception"
}
], - "total": 2063
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 HTTP 외부 호출 내역을 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |
| total | integer 총 HTTP 연결 레코드 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/httpc/{stime}/{etime}"
{- "records": [
- {
- "Sum": 22628,
- "Port": 10002,
- "Url": "/remote/account/save/employee/kwangju",
- "Host": "127.0.0.1",
- "Max": 1815,
- "Stdev": "247.95",
- "Actived": 0,
- "Avg": 1131,
- "HostHash": -675813464,
- "Min": 1002,
- "Error": 0,
- "Total": 20,
- "UrlHash": -243814510
}
], - "total": 4923
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 HTTP 외부 호출 내역을 호스트의 주소와 포트 번호를 기준으로 필터링해 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| host required | string 필터링할 호스트 주소 |
| port required | string 필터링할 호스트 포트 번호 |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |
| total | integer 총 HTTP 연결 레코드 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/httpc/{stime}/{etime}/filter/host/{host}/port/{port}"
{- "records": [
- {
- "Service": "/sales/remove/unit/kwangju",
- "Host": "127.0.0.1",
- "HostHash": -675813464,
- "Avg": 1080,
- "Error": 0,
- "Sum": 2411644,
- "Port": 10007,
- "Service_hash": -1003301916,
- "Url": "/remote/account/save/employee/seoul",
- "Max": 2442,
- "Stdev": "159.01",
- "UrlHash": 180997672,
- "Total": 2233,
- "Min": 1001
}, - {
- "Service": "/product/delete/employee/daejun",
- "Host": "127.0.0.1",
- "HostHash": -675813464,
- "Avg": 1085,
- "Error": 0,
- "Sum": 2075036,
- "Port": 10007,
- "Service_hash": 2100205994,
- "Url": "/remote/account/save/employee/pusan",
- "Max": 2462,
- "Stdev": "173.06",
- "UrlHash": -924053750,
- "Total": 1911,
- "Min": 1001
}
], - "total": 1080
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 SQL 문을 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |
| total | integer 총 SQL 쿼리 레코드 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/sql/{stime}/{etime}"
{- "records": [
- {
- "time_max": 4164,
- "dbcHash": 450678784,
- "db": "jdbc:mysql://localhost:3306,localhost:3310/fake",
- "time_min": 0,
- "fetch_count": 0,
- "hash": 796628118,
- "fetch_time": 0,
- "sql_crud": 0,
- "count_total": 5224,
- "count_error": 0,
- "sql": "update table set x=# where key=#",
- "time_sum": 581391,
- "time_avg": 111,
- "time_std": "240.79",
- "count_actived": 0
}
], - "total": 130
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 원격 클라이언트 IP를 조회할 수 있는 API입니다. 와탭은 클라이언트와 관련한 정보를 기본 저장합니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |
| total | integer 총 원격 클라이언트 IP 레코드 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/remote/{stime}/{etime}"
{- "records": [
- {
- "count": 86,
- "city": "Winnipeg",
- "country": "CA (CANADA)",
- "ip": "140.193.83.68"
}
], - "total": 1000
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 발생한 트랜잭션 내역을 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects | |
| total | integer 총 트랜잭션 레코드 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/transaction/{stime}/{etime}"
{- "records": [
- {
- "apdex_tolerated": 98,
- "apdex_satisfied": 279,
- "apdex": 0.830379746835443,
- "time_max": 44735,
- "sql_fetch_time": 363,
- "sql_time": 2628663,
- "count": 10743,
- "error": 29,
- "sql_count": 22635,
- "hash": -1485863373,
- "sql_fetch": 6741607,
- "httpc_avg": 1084,
- "cpu_avg": 0,
- "time_sum": 19911778,
- "time_avg": 1853,
- "httpc_count": 7072,
- "service": "/account/save/employee/seoul",
- "mem_avg": 0
}
], - "total": 1080
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 Heap 사용량에 대한 통계 평균값을 조회할 수 있는 API입니다. 조회 시간은 한 시간 이내로 제한하며, 밀리초(millisecond, ms) 단위입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코드 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| timeMerge | string 데이터 집계 방식(avg 또는 max) |
| unit | string Heap 사용량 단위(예, byte) |
Array of objects |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/heap_use/{stime}/{etime}/avg"
{- "pcode": 5490,
- "stime": 1677747600000,
- "etime": 1677749594269,
- "timeMerge": "avg",
- "unit": "byte",
- "data": [
- {
- "oid": -1143239575,
- "oname": "demo-8101",
- "heap_use": "36121554.72"
}, - {
- "oid": -857948929,
- "oname": "demo-8105",
- "heap_use": "37498925.139"
}
]
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 Heap 사용량에 대한 통계 최댓값을 조회할 수 있는 API입니다. 조회 시간은 한 시간 이내로 제한하며, 밀리초(millisecond, ms) 단위입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코드 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| timeMerge | string 데이터 집계 방식(avg 또는 max) |
| unit | string Heap 사용량 단위(예, byte) |
Array of objects |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/heap_use/{stime}/{etime}/max"
{- "pcode": 5490,
- "stime": 1677747600000,
- "etime": 1677749594269,
- "timeMerge": "max",
- "unit": "byte",
- "data": [
- {
- "oid": -1143239575,
- "oname": "demo-8101",
- "heap_use": "36121554.72"
}, - {
- "oid": -857948929,
- "oname": "demo-8105",
- "heap_use": "37498925.139"
}
]
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 전체 에이전트의 데이터를 조회할 수 있는 API입니다.
| metric_type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" "tx_caller" 조회할 수 있는 지표 |
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코 드 |
| type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" "tx_caller" 조회할 수 있는 지표 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| interval | integer 데이터 포인트 간격(초) |
| timeMerge | string 데이터 집계 방식(sum) |
Array of objects |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/{metric_type}/{stime}/{etime}"
{- "pcode": 1234570141,
- "type": "metric_type",
- "stime": 1536050100000,
- "etime": 1536050700000,
- "interval": 300,
- "timeMerge": "sum",
- "objects": [
- {
- "oname": "8080",
- "oid": -1234257485,
- "series": [
- [
- 1536050100000,
- 95.2
], - [
- 1536050400000,
- 85.3
], - [
- 1536050700000,
- 91.43
]
]
}, - {
- "oname": "TC-29-96-8082",
- "oid": 1482741919,
- "series": [
- [
- 1536050100000,
- 98.11
], - [
- 1536050400000,
- 81.44
], - [
- 1536050700000,
- 90.05
]
]
}
]
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 전체 에이전트의 평균 데이터를 조회할 수 있는 API입니다.
| metric_type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" 조회할 수 있는 지표 |
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코드 |
| type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" 조회할 수 있는 지표 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| interval | integer 데이터 포인트 간격(초) |
| timeMerge | string 데이터 집계 방식(sum) |
| objectMerge | string 데이터 병합 방식(avg) |
Array of items |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/{metric_type}/{stime}/{etime}/avg"
{- "pcode": 1234570141,
- "type": "metric_type",
- "stime": 1536050100000,
- "etime": 1536050700000,
- "interval": 300,
- "timeMerge": "sum",
- "objectMerge": "avg",
- "series": [
- [
- 1536050100000,
- 122.86
], - [
- 1536050400000,
- 99.26
], - [
- 1536050700000,
- 109.68
]
]
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 지정한 에이전트(oids)의 스레드 수 데이터를 조회할 수 있는 API입니다. 에이전트(oids)는 쉼표(,)를 구분자로 여러 개 지정할 수 있습니다.
| metric_type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" "tx_caller" 조회할 수 있는 지표 |
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| oids required | integer <int32> 에이전트 고유 식별자(ID), 쉼표(,)를 구분자로 여러 개 입력 가능 |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코드 |
| type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" "tx_caller" 조회할 수 있는 지표 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| interval | integer 데이터 포인트 간격(초) |
| timeMerge | string 데이터 집계 방식(sum) |
Array of objects |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/{metric_type}/{stime}/{etime}/{oids}"
{- "pcode": 1234570141,
- "type": "metric_type",
- "stime": 1536050100000,
- "etime": 1536050700000,
- "interval": 300,
- "timeMerge": "sum",
- "objects": [
- {
- "oname": "8080",
- "oid": -1234257485,
- "series": [
- [
- 1536050100000,
- 95.2
], - [
- 1536050400000,
- 85.3
], - [
- 1536050700000,
- 91.43
]
]
}, - {
- "oname": "TC-29-96-8082",
- "oid": 1482741919,
- "series": [
- [
- 1536050100000,
- 98.11
], - [
- 1536050400000,
- 81.44
], - [
- 1536050700000,
- 90.05
]
]
}
]
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 지정한 에이전트(oids)의 평균 데이터를 조회할 수 있는 API입니다. 에이전트(oids)는 쉼표(,)를 구분자로 여러 개 지정할 수 있습니다.
| metric_type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" 조회할 수 있는 지표 |
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
| pcode | integer 프로젝트 코드 |
| type | string Enum: "thread_count" "thread_daemon" "thread_peak_count" "threadpool_active" "threadpool_queue" "apdex" 조회할 수 있는 지표 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| interval | integer 데이터 포인트 간격(초) |
| timeMerge | string 데이터 집계 방식(sum) |
| objectMerge | string 데이터 병합 방식(avg) |
Array of items |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/{metric_type}/{stime}/{etime}/avg/{oids}"
{- "pcode": 1234570141,
- "type": "metric_type",
- "stime": 1536050100000,
- "etime": 1536050700000,
- "interval": 300,
- "timeMerge": "sum",
- "objectMerge": "avg",
- "series": [
- [
- 1536050100000,
- 117.49
], - [
- 1536050400000,
- 100.26
], - [
- 1536050700000,
- 120.2
]
]
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 5분 단위의 동시 접속 사용자를 조회할 수 있는 API입니다. 동시 접속 사용자는 최근 5분 이내에 트랜잭션을 발생시킨 사용자를 측정한 값입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of items | |
| pcode | integer 프로젝트 코드 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| total | integer 총 방문자 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/visitor_5m/{stime}/{etime}"
{- "data": [
- [
- 1554444005000,
- 12
], - [
- 1554444010000,
- 12
]
], - "pcode": 3000000079,
- "stime": 1554444000000,
- "etime": 1554444300000,
- "total": 59
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 1시간 단위의 동시 접속 사용자를 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of items | |
| pcode | integer 프로젝트 코드 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| total | integer data 배열의 총 개수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/visitor_h/{stime}/{etime}"
{- "data": [
- [
- 1554444000000,
- 18
], - [
- 1554444010000,
- 16
]
], - "pcode": 3000000079,
- "stime": 1554444000000,
- "etime": 1554454800000,
- "total": 59
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 1일 단위의 동시 접속 사용자를 조회할 수 있는 API입니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of items | |
| pcode | integer 프로젝트 코드 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| total | integer 총 방문자 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/visitor_d/{stime}/{etime}"
{- "data": [
- [
- 1554163200000,
- 1007
], - [
- 1554249600000,
- 1007
], - [
- 1554336000000,
- 1007
]
], - "pcode": 3000000079,
- "stime": 1554163200000,
- "etime": 1554422400000,
- "total": 3
}애플리케이션 모니터링 프로젝트에서 설정한 시간 동안 1개월 단위의 동시 접속 사용자를 조회할 수 있는 API입니다. 1개월간 집계된 고유 사용자 통계로 etime은 stime을 기준으로 365일을 초과할 수 없습니다.
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| x-whatap-token required | string 프로젝트 API 토큰 {{PROJECT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
Array of objects 각 월별 사용자 통계 데이터 | |
| pcode | integer 프로젝트 코드 |
| stime | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| sdate | string 조회 시작 시간의 문자열 표현 |
| edate | string 조회 종료 시간의 문자열 표현 |
| total | integer 총 방문자 수 |
curl -L \ -w "\n" \ -H "Content-Type: application/json" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/visitor_m/{stime}/{etime}"
{- "data": [
- {
- "stime": 1535760000000,
- "etime": 1538352000000,
- "sdate": "Sat Sep 01 00:00:00 GMT 2018",
- "edate": "Mon Oct 01 00:00:00 GMT 2018",
- "mau": 1007
}, - {
- "stime": 1538352000000,
- "etime": 1541030400000,
- "sdate": "Mon Oct 01 00:00:00 GMT 2018",
- "edate": "Thu Nov 01 00:00:00 GMT 2018",
- "mau": 1007
}
], - "pcode": 1234570141,
- "stime": 1535760000000,
- "etime": 1541030400000,
- "sdate": "Sat Sep 01 00:00:00 GMT 2018",
- "edate": "Thu Nov 01 00:00:00 GMT 2018",
- "total": 2
}프로젝트 간 트랜잭션 호출 통계 또는 트랜잭션 도메인 호출 통계를 필터링해 조회할 수 있습니다.
caller_pcode, caller_spec (버전), caller_url, spec (버전), url)filterkey가 caller_url 또는 url인 경우 base64로 인코딩)| metric_type | string Enum: "tx_caller" "tx_domain" 조회할 수 있는 지표 |
| stime required | integer <int64> 조회 시작 시간(UNIX epoch time, millisecond) |
| etime required | integer <int64> 조회 종료 시간(UNIX epoch time, millisecond) |
| filterkey required | string Enum: "caller_pcode" "caller_spec" "caller_url" "spec" "url" 조회 조건 키 |
| filterval required | string 조회 조건 ( |
| x-whatap-token required | string 계정 API 토큰 {{ACCOUNT_API_TOKEN}} |
| x-whatap-pcode required | string 프로젝트 코드 {{projectCode} |
curl -L \ -w "\n" \ -H "x-whatap-token: {{PROJECT_API_TOKEN}}" \ -H "x-whatap-pcode: {{projectCode}}" \ "https://api.whatap.io/open/api/json/{metric_type}/{stime}/{etime}/filter/{filterkey}/{filtereval}"