123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- {
- "head": {
- "version": "1.0.0",
- "serviceCode": "apm",
- "userId": "",
- "bgId": "",
- "userToken": ""
- },
- "body": {
- "metricCls": "PERF",
- "dataTime": "2022-10-27 16:38:00",
- "intervalUnit": "MI",
- "intervalValue": 5,
- "resourceType": [
- {
- "resourceTypeCode": "App",
- "success": true,
- "resource": [
- {
- "cmdbId": "线下提供的业务系统资源ID",
- "success": true,
- "subResourceType": [
- {
- "resourceTypeCode": "ApmService",
- "success": true,
- "resource": [
- {
- "cmdbId": "apm-agent-service1@40003102",
- "metric": [
- {
- "metricCode": "APMServiceCode",
- "success": true,
- "metricValue": "apm-agent-service1"
- },
- {
- "metricCode": "APMServiceName",
- "success": true,
- "metricValue": "服务1"
- },
- {
- "metricCode": "SecZoneId",
- "success": true,
- "metricValue": "40003102"
- },
- {
- "metricCode": "APMServiceApdex",
- "success": true,
- "metricValue": "0.98"
- },
- {
- "metricCode": "APMServiceCPM",
- "success": true,
- "metricValue": "19"
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceFailCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceExceptionCount",
- "success": true,
- "metricValue": "18"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- }
- ],
- "success": true,
- "subResourceType": [
- {
- "resourceTypeCode": "ApmServiceInst",
- "success": true,
- "resource": [
- {
- "cmdbId": "uuid@172.56.33.129",
- "metric": [
- {
- "metricCode": "APMServiceInstId",
- "success": true,
- "metricValue": "uuid@172.56.33.129"
- },
- {
- "metricCode": "APMServiceInstIp",
- "success": true,
- "metricValue": "172.56.33.129"
- },
- {
- "metricCode": "APMServiceCPM",
- "success": true,
- "metricValue": "19"
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceFailCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceExceptionCount",
- "success": true,
- "metricValue": "18"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- },
- {
- "metricCode": "JVMHeapSizeMax",
- "success": true,
- "metricValue": "100000000"
- },
- {
- "metricCode": "JVMHeapUsedSize",
- "success": true,
- "metricValue": "66000000"
- },
- {
- "metricCode": "JVMHeapFreeSize",
- "success": true,
- "metricValue": "34000000"
- },
- {
- "metricCode": "JVMHeapUsedRatio",
- "success": true,
- "metricValue": "0.66"
- }
- ],
- "success": true
- }
- ]
- },
- {
- "resourceTypeCode": "ApmEndpoint",
- "success": true,
- "resource": [
- {
- "cmdbId": "/api/cmdb/read/{type}",
- "metric": [
- {
- "metricCode": "APMEndpointName",
- "success": true,
- "metricValue": "/api/cmdb/read/{type}"
- },
- {
- "metricCode": "APMEndpointType",
- "success": true,
- "metricValue": "APPIF"
- },
- {
- "metricCode": "APMServiceCPM",
- "success": true,
- "metricValue": "19"
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceFailCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceExceptionCount",
- "success": true,
- "metricValue": "18"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- },
- {
- "metricCode": "APMServiceApdex",
- "success": true,
- "metricValue": "0.95"
- },
- {
- "metricCode": "APMServiceSlowCount",
- "success": true,
- "metricValue": "6"
- },
- {
- "metricCode": "SlowStatmentCount",
- "success": true,
- "metricValue": "5"
- }
- ],
- "success": true
- },
- {
- "cmdbId": "/api/cmdb/write/{type}",
- "metric": [
- {
- "metricCode": "APMEndpointName",
- "success": true,
- "metricValue": "/api/cmdb/write/{type}"
- },
- {
- "metricCode": "APMEndpointType",
- "success": true,
- "metricValue": "APPIF"
- },
- {
- "metricCode": "APMServiceCPM",
- "success": true,
- "metricValue": "19"
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceFailCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceExceptionCount",
- "success": true,
- "metricValue": "18"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- },
- {
- "metricCode": "APMServiceApdex",
- "success": true,
- "metricValue": "0.95"
- },
- {
- "metricCode": "APMServiceSlowCount",
- "success": true,
- "metricValue": "6"
- },
- {
- "metricCode": "SlowStatmentCount",
- "success": true,
- "metricValue": "5"
- }
- ],
- "success": true
- }
- ]
- }
- ]
- }
- ]
- },
- {
- "resourceTypeCode": "ApmDB",
- "success": true,
- "resource": [
- {
- "cmdbId": "172.14.23.172:3306",
- "metric": [
- {
- "metricCode": "APMDBPeer",
- "success": true,
- "metricValue": "172.14.23.172:3306"
- },
- {
- "metricCode": "APMServiceCPM",
- "success": true,
- "metricValue": "19"
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceErrorCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- }
- ],
- "success": true,
- "subResourceType": [
- {
- "resourceTypeCode": "ApmSql",
- "success": true,
- "resource": [
- {
- "cmdbId": "select a from b",
- "metric": [
- {
- "metricCode": "APMDBStatment",
- "success": true,
- "metricValue": "select a from b"
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceErrorCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- }
- ],
- "success": true
- },
- {
- "cmdbId": "update a set b=c where e =f ",
- "metric": [
- {
- "metricCode": "APMDBStatment",
- "success": true,
- "metricValue": "update a set b=c where e =f "
- },
- {
- "metricCode": "APMServiceCallCount",
- "success": true,
- "metricValue": "95"
- },
- {
- "metricCode": "APMServiceErrorCount",
- "success": true,
- "metricValue": "1"
- },
- {
- "metricCode": "APMServiceAvgResponseTime",
- "success": true,
- "metricValue": "5"
- }
- ],
- "success": true
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- }
- }
|