tccli 3.0.1291.2__py2.py3-none-any.whl → 3.0.1292.2__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/antiddos/antiddos_client.py +7 -113
- tccli/services/antiddos/v20200309/api.json +41 -401
- tccli/services/antiddos/v20200309/examples.json +1 -17
- tccli/services/apm/v20210622/api.json +44 -44
- tccli/services/apm/v20210622/examples.json +5 -5
- tccli/services/batch/v20170312/api.json +161 -161
- tccli/services/batch/v20170312/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +303 -219
- tccli/services/cdwch/v20200915/examples.json +18 -18
- tccli/services/cdwpg/v20201230/api.json +21 -21
- tccli/services/cdwpg/v20201230/examples.json +2 -2
- tccli/services/ckafka/v20190819/api.json +1015 -1005
- tccli/services/cls/v20201016/api.json +112 -112
- tccli/services/dbbrain/v20191016/api.json +2 -2
- tccli/services/dbbrain/v20210527/api.json +14 -5
- tccli/services/emr/v20190103/api.json +249 -13
- tccli/services/emr/v20190103/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +13 -2
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +72 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iotvideoindustry/v20201201/api.json +75 -75
- tccli/services/iotvideoindustry/v20201201/examples.json +1 -1
- tccli/services/lke/lke_client.py +0 -53
- tccli/services/lke/v20231130/api.json +0 -43
- tccli/services/lke/v20231130/examples.json +0 -8
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/memcached/v20190318/api.json +1 -1
- tccli/services/monitor/monitor_client.py +57 -4
- tccli/services/monitor/v20180724/api.json +249 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/svp/v20240125/api.json +3 -3
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +266 -266
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +50 -7
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/thpc/v20220401/api.json +6 -6
- tccli/services/thpc/v20230321/api.json +14 -14
- tccli/services/wedata/v20210820/api.json +166 -12
- {tccli-3.0.1291.2.dist-info → tccli-3.0.1292.2.dist-info}/METADATA +2 -2
- {tccli-3.0.1291.2.dist-info → tccli-3.0.1292.2.dist-info}/RECORD +47 -47
- {tccli-3.0.1291.2.dist-info → tccli-3.0.1292.2.dist-info}/WHEEL +0 -0
- {tccli-3.0.1291.2.dist-info → tccli-3.0.1292.2.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1291.2.dist-info → tccli-3.0.1292.2.dist-info}/license_files/LICENSE +0 -0
@@ -350,14 +350,6 @@
|
|
350
350
|
"title": "获取高防IP业务流量曲线"
|
351
351
|
}
|
352
352
|
],
|
353
|
-
"DescribeBlackWhiteIpList": [
|
354
|
-
{
|
355
|
-
"document": "",
|
356
|
-
"input": "https://antiddos.tencentcloudapi.com/?Action=DescribeBlackWhiteIpList\n&InstanceId=bgpip-00001001\n&<公共请求参数>",
|
357
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"0f996729-bb5b-49da-89c3-8fc2a7400bd5\",\n \"BlackIpList\": [\n \"123.123.123.1\"\n ],\n \"WhiteIpList\": [\n \"123.123.123.2\"\n ]\n }\n}",
|
358
|
-
"title": "获取DDoS防护的IP黑白名单"
|
359
|
-
}
|
360
|
-
],
|
361
353
|
"DescribeCCLevelList": [
|
362
354
|
{
|
363
355
|
"document": "",
|
@@ -386,7 +378,7 @@
|
|
386
378
|
{
|
387
379
|
"document": "",
|
388
380
|
"input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCCReqLimitPolicyList\n<公共请求参数>\n\n{\n \"Business\": \"bgp-multip\",\n \"InstanceId\": \"bgp-00000001\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
389
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"ea775a73-7de5-4d36-aca0-29307e7c4f27\",\n \"Total\": 1,\n \"RequestLimitPolicyList\": [\n {\n \"PolicyId\": \"ccRule-00009xn0\",\n \"InstanceId\": \"bgp-00000001\",\n \"Ip\": \"1.1.1.1\",\n \"Protocol\": \"http\",\n \"Domain\": \"www.test.com\",\n \"PolicyRecord\": {\n \"Period\": 10,\n \"RequestNum\": 500,\n \"Action\": \"alg\",\n \"ExecuteDuration\": 120,\n \"Mode\": \"equal\",\n \"Uri\": \"
|
381
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ea775a73-7de5-4d36-aca0-29307e7c4f27\",\n \"Total\": 1,\n \"RequestLimitPolicyList\": [\n {\n \"PolicyId\": \"ccRule-00009xn0\",\n \"InstanceId\": \"bgp-00000001\",\n \"Ip\": \"1.1.1.1\",\n \"Protocol\": \"http\",\n \"Domain\": \"www.test.com\",\n \"PolicyRecord\": {\n \"Period\": 10,\n \"RequestNum\": 500,\n \"Action\": \"alg\",\n \"ExecuteDuration\": 120,\n \"Mode\": \"equal\",\n \"Uri\": \"www.a.com\",\n \"UserAgent\": \"\",\n \"Cookie\": \"\"\n },\n \"CreateTime\": \"2022-12-02 09:11:48\",\n \"ModifyTime\": \"2022-12-02 09:11:48\"\n }\n ]\n }\n}",
|
390
382
|
"title": "获取CC频率限制策略列表"
|
391
383
|
}
|
392
384
|
],
|
@@ -550,14 +542,6 @@
|
|
550
542
|
"title": "获取DDoS防护的端口acl策略列表"
|
551
543
|
}
|
552
544
|
],
|
553
|
-
"DescribeListProtectThresholdConfig": [
|
554
|
-
{
|
555
|
-
"document": "",
|
556
|
-
"input": "POST / HTTP/1.1\nHost: antiddos.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeListProtectThresholdConfig\n<公共请求参数>\n\n{\n \"FilterInstanceId\": \"bgpip-0000011x\",\n \"FilterIp\": \"1.1.1.1\",\n \"Limit\": \"25\",\n \"Offset\": \"0\"\n}",
|
557
|
-
"output": "{\n \"Response\": {\n \"Total\": 1,\n \"ConfigList\": [\n {\n \"DDoSThreshold\": 1,\n \"RstFloodPktThreshold\": 1,\n \"SynAckFloodThreshold\": 1,\n \"DDoSAI\": \"om\",\n \"CCEnable\": 1,\n \"ListenerCcThresholdList\": [\n {\n \"CCThreshold\": 0,\n \"Domain\": \"*.examw.com\",\n \"Protocol\": \"http\",\n \"CCEnable\": 0\n }\n ],\n \"AckFloodThreshold\": 1,\n \"SynFloodThreshold\": 1,\n \"InstanceDetailList\": [\n {\n \"InstanceId\": \"bgpip-0000011x\",\n \"EipList\": [\n \"1.1.1.1\"\n ]\n }\n ],\n \"CCThreshold\": 1,\n \"UdpFloodPktThreshold\": 1,\n \"AckFloodPktThreshold\": 1,\n \"UdpFloodThreshold\": 1,\n \"SynAckFloodPktThreshold\": 1,\n \"RstFloodThreshold\": 1,\n \"DDoSLevel\": \"middle\",\n \"SynFloodPktThreshold\": 1\n }\n ],\n \"RequestId\": \"f56cc9dc-29d9-4594-b12d-22239c7bc888\"\n }\n}",
|
558
|
-
"title": "获取防护阈值配置列表"
|
559
|
-
}
|
560
|
-
],
|
561
545
|
"DescribeListProtocolBlockConfig": [
|
562
546
|
{
|
563
547
|
"document": "",
|
@@ -1448,7 +1448,7 @@
|
|
1448
1448
|
"example": "apm-CVfliqa8U",
|
1449
1449
|
"member": "string",
|
1450
1450
|
"name": "InstanceId",
|
1451
|
-
"required":
|
1451
|
+
"required": true,
|
1452
1452
|
"type": "string"
|
1453
1453
|
},
|
1454
1454
|
{
|
@@ -1457,7 +1457,7 @@
|
|
1457
1457
|
"example": "1617123538",
|
1458
1458
|
"member": "int64",
|
1459
1459
|
"name": "StartTime",
|
1460
|
-
"required":
|
1460
|
+
"required": true,
|
1461
1461
|
"type": "int"
|
1462
1462
|
},
|
1463
1463
|
{
|
@@ -1466,7 +1466,7 @@
|
|
1466
1466
|
"example": "1617123538",
|
1467
1467
|
"member": "int64",
|
1468
1468
|
"name": "EndTime",
|
1469
|
-
"required":
|
1469
|
+
"required": true,
|
1470
1470
|
"type": "int"
|
1471
1471
|
},
|
1472
1472
|
{
|
@@ -1552,6 +1552,15 @@
|
|
1552
1552
|
"DescribeMetricRecordsRequest": {
|
1553
1553
|
"document": "DescribeMetricRecords请求参数结构体",
|
1554
1554
|
"members": [
|
1555
|
+
{
|
1556
|
+
"disabled": false,
|
1557
|
+
"document": "业务系统 ID",
|
1558
|
+
"example": "apm-CVfliqa8U",
|
1559
|
+
"member": "string",
|
1560
|
+
"name": "InstanceId",
|
1561
|
+
"required": true,
|
1562
|
+
"type": "string"
|
1563
|
+
},
|
1555
1564
|
{
|
1556
1565
|
"disabled": false,
|
1557
1566
|
"document": "指标列表",
|
@@ -1561,22 +1570,13 @@
|
|
1561
1570
|
"required": true,
|
1562
1571
|
"type": "list"
|
1563
1572
|
},
|
1564
|
-
{
|
1565
|
-
"disabled": false,
|
1566
|
-
"document": "业务系统 ID",
|
1567
|
-
"example": "apm-CVfliqa8U",
|
1568
|
-
"member": "string",
|
1569
|
-
"name": "InstanceId",
|
1570
|
-
"required": false,
|
1571
|
-
"type": "string"
|
1572
|
-
},
|
1573
1573
|
{
|
1574
1574
|
"disabled": false,
|
1575
1575
|
"document": "开始时间(单位为秒)",
|
1576
1576
|
"example": "1618361193",
|
1577
1577
|
"member": "uint64",
|
1578
1578
|
"name": "StartTime",
|
1579
|
-
"required":
|
1579
|
+
"required": true,
|
1580
1580
|
"type": "int"
|
1581
1581
|
},
|
1582
1582
|
{
|
@@ -1585,9 +1585,18 @@
|
|
1585
1585
|
"example": "1618361193",
|
1586
1586
|
"member": "uint64",
|
1587
1587
|
"name": "EndTime",
|
1588
|
-
"required":
|
1588
|
+
"required": true,
|
1589
1589
|
"type": "int"
|
1590
1590
|
},
|
1591
|
+
{
|
1592
|
+
"disabled": false,
|
1593
|
+
"document": "聚合维度",
|
1594
|
+
"example": "[\"service.instance\"]",
|
1595
|
+
"member": "string",
|
1596
|
+
"name": "GroupBy",
|
1597
|
+
"required": true,
|
1598
|
+
"type": "list"
|
1599
|
+
},
|
1591
1600
|
{
|
1592
1601
|
"disabled": false,
|
1593
1602
|
"document": "过滤条件",
|
@@ -1606,15 +1615,6 @@
|
|
1606
1615
|
"required": false,
|
1607
1616
|
"type": "list"
|
1608
1617
|
},
|
1609
|
-
{
|
1610
|
-
"disabled": false,
|
1611
|
-
"document": "聚合维度",
|
1612
|
-
"example": "[\"service.instance\"]",
|
1613
|
-
"member": "string",
|
1614
|
-
"name": "GroupBy",
|
1615
|
-
"required": false,
|
1616
|
-
"type": "list"
|
1617
|
-
},
|
1618
1618
|
{
|
1619
1619
|
"disabled": false,
|
1620
1620
|
"document": "排序\n现支持的 Key 有:\n\n- startTime(开始时间)\n- endTime(结束时间)\n- duration(响应时间)\n\n现支持的 Value 有:\n\n- desc(降序排序)\n- asc(升序排序)",
|
@@ -1734,6 +1734,24 @@
|
|
1734
1734
|
"required": true,
|
1735
1735
|
"type": "list"
|
1736
1736
|
},
|
1737
|
+
{
|
1738
|
+
"disabled": false,
|
1739
|
+
"document": "开始时间(单位:秒)",
|
1740
|
+
"example": "1618361193",
|
1741
|
+
"member": "uint64",
|
1742
|
+
"name": "StartTime",
|
1743
|
+
"required": true,
|
1744
|
+
"type": "int"
|
1745
|
+
},
|
1746
|
+
{
|
1747
|
+
"disabled": false,
|
1748
|
+
"document": "结束时间(单位:秒)",
|
1749
|
+
"example": "1618361193",
|
1750
|
+
"member": "uint64",
|
1751
|
+
"name": "EndTime",
|
1752
|
+
"required": true,
|
1753
|
+
"type": "int"
|
1754
|
+
},
|
1737
1755
|
{
|
1738
1756
|
"disabled": false,
|
1739
1757
|
"document": "聚合维度",
|
@@ -1752,24 +1770,6 @@
|
|
1752
1770
|
"required": false,
|
1753
1771
|
"type": "list"
|
1754
1772
|
},
|
1755
|
-
{
|
1756
|
-
"disabled": false,
|
1757
|
-
"document": "开始时间(单位:秒)",
|
1758
|
-
"example": "1618361193",
|
1759
|
-
"member": "uint64",
|
1760
|
-
"name": "StartTime",
|
1761
|
-
"required": false,
|
1762
|
-
"type": "int"
|
1763
|
-
},
|
1764
|
-
{
|
1765
|
-
"disabled": false,
|
1766
|
-
"document": "结束时间(单位:秒)",
|
1767
|
-
"example": "1618361193",
|
1768
|
-
"member": "uint64",
|
1769
|
-
"name": "EndTime",
|
1770
|
-
"required": false,
|
1771
|
-
"type": "int"
|
1772
|
-
},
|
1773
1773
|
{
|
1774
1774
|
"disabled": false,
|
1775
1775
|
"document": "排序方式\nValue 填写:\n- asc:对查询指标进行升序排序\n- desc:对查询指标进行降序排序",
|
@@ -1849,7 +1849,7 @@
|
|
1849
1849
|
"example": "1734400800",
|
1850
1850
|
"member": "int64",
|
1851
1851
|
"name": "StartTime",
|
1852
|
-
"required":
|
1852
|
+
"required": true,
|
1853
1853
|
"type": "int"
|
1854
1854
|
},
|
1855
1855
|
{
|
@@ -1858,7 +1858,7 @@
|
|
1858
1858
|
"example": "1734415200",
|
1859
1859
|
"member": "int64",
|
1860
1860
|
"name": "EndTime",
|
1861
|
-
"required":
|
1861
|
+
"required": true,
|
1862
1862
|
"type": "int"
|
1863
1863
|
},
|
1864
1864
|
{
|
@@ -2149,7 +2149,7 @@
|
|
2149
2149
|
{
|
2150
2150
|
"disabled": false,
|
2151
2151
|
"document": "是否开启错误采样(0=关, 1=开)",
|
2152
|
-
"example": "
|
2152
|
+
"example": "1",
|
2153
2153
|
"member": "int64",
|
2154
2154
|
"name": "ErrorSample",
|
2155
2155
|
"required": false,
|
@@ -69,13 +69,13 @@
|
|
69
69
|
"DescribeGeneralSpanList": [
|
70
70
|
{
|
71
71
|
"document": "根据 Trace ID 列表批量查询 Span,Filters 查询参数中将 Type 设置为 in ,将 Trace ID 列表通过,隔开",
|
72
|
-
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desc\"\n },\n \"Filters\": [\n {\n \"Key\": \"traceID\",\n \"Type\": \"in\",\n \"Value\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"52Dpv13GR\",\n \"BusinessName\": \"tdmq\"\n}",
|
72
|
+
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desc\"\n },\n \"Filters\": [\n {\n \"Key\": \"traceID\",\n \"Type\": \"in\",\n \"Value\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"apm-52Dpv13GR\",\n \"StartTime\": 1742374000,\n \"EndTime\": 1742374331,\n \"BusinessName\": \"tdmq\"\n}",
|
73
73
|
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"test-test-test\",\n \"Spans\": [\n {\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\",\n \"Logs\": [\n {\n \"Timestamp\": 0,\n \"Fields\": [\n {\n \"Type\": \"service.name\",\n \"Value\": \"=\",\n \"Key\": \"java-order-service\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Type\": \"service.name\",\n \"Value\": \"=\",\n \"Key\": \"java-order-service\"\n }\n ],\n \"Process\": {\n \"ServiceName\": \"java-order-service\",\n \"Tags\": [\n {\n \"Type\": \"service.name\",\n \"Value\": \"=\",\n \"Key\": \"java-order-service\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"/test\",\n \"References\": [\n {\n \"RefType\": \"1\",\n \"SpanID\": \"4q6549c49aaa\",\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"StartTime\": 0,\n \"Duration\": 0,\n \"SpanID\": \"1q23w1q32165\",\n \"StartTimeMillis\": 0\n }\n ]\n }\n}",
|
74
74
|
"title": "通用查询调用链列表"
|
75
75
|
},
|
76
76
|
{
|
77
77
|
"document": "指定 Tag 过滤条件拿到 Span 列表",
|
78
|
-
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desce\"\n },\n \"Filters\": [\n {\n \"Key\": \"pulsar:sub_name\",\n \"Type\": \"=\",\n \"Value\": \"participants\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"52Dpv13GR\",\n \"BusinessName\": \"tdmq\",\n \"StartTime\": 1621923035\n}",
|
78
|
+
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"startTime\",\n \"Key\": \"desce\"\n },\n \"Filters\": [\n {\n \"Key\": \"pulsar:sub_name\",\n \"Type\": \"=\",\n \"Value\": \"participants\"\n }\n ],\n \"Limit\": 0,\n \"Offset\": 10,\n \"InstanceId\": \"52Dpv13GR\",\n \"BusinessName\": \"tdmq\",\n \"StartTime\": 1621923035,\n \"EndTime\": 1621923038\n}",
|
79
79
|
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"test-test-test\",\n \"Spans\": [\n {\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\",\n \"Logs\": [\n {\n \"Timestamp\": 0,\n \"Fields\": [\n {\n \"Type\": \"job\",\n \"Value\": \"=\",\n \"Key\": \"test1\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Type\": \"=\",\n \"Value\": \"java-order-service\",\n \"Key\": \"service.name\"\n }\n ],\n \"Process\": {\n \"ServiceName\": \"java-order-service\",\n \"Tags\": [\n {\n \"Type\": \"job\",\n \"Value\": \"=\",\n \"Key\": \"test2\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"/testOperation\",\n \"References\": [\n {\n \"RefType\": \"1\",\n \"SpanID\": \"qertuytw\",\n \"TraceID\": \"663727c6d5d4436dd1fcaa509d0f4dc0,6c2c8ebff420a8e5b2276ec799446f98,68d3062a4c559ba212a36f61c97ba8ac\"\n }\n ],\n \"StartTime\": 0,\n \"Duration\": 0,\n \"SpanID\": \"xasfvava\",\n \"StartTimeMillis\": 0\n }\n ]\n }\n}",
|
80
80
|
"title": "通用查询调用链列表2"
|
81
81
|
}
|
@@ -89,7 +89,7 @@
|
|
89
89
|
},
|
90
90
|
{
|
91
91
|
"document": "场景2",
|
92
|
-
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMetricRecords\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"span.kind\",\n \"Type\": \"in\",\n \"Value\": \"server,consumer\"\n }\n ],\n \"Metrics\": [\n {\n \"MetricName\": \"duration_avg\",\n \"Compares\": [\n \"CompareByYesterday\",\n \"CompareByLastWeek\"\n ]\n }\n ],\n \"GroupBy\": [\n \"service.instance\"\n ],\n \"Limit\": 10,\n \"Offset\": 1,\n \"StartTime\": 1618361193,\n \"EndTime\": 1618677137,\n \"OrderBy\": {\n \"Key\": \"duration_avg\",\n \"Value\": \"DESC\"\n }\n}",
|
92
|
+
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMetricRecords\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"span.kind\",\n \"Type\": \"in\",\n \"Value\": \"server,consumer\"\n }\n ],\n \"Metrics\": [\n {\n \"MetricName\": \"duration_avg\",\n \"Compares\": [\n \"CompareByYesterday\",\n \"CompareByLastWeek\"\n ]\n }\n ],\n \"GroupBy\": [\n \"service.instance\"\n ],\n \"Limit\": 10,\n \"Offset\": 1,\n \"StartTime\": 1618361193,\n \"EndTime\": 1618677137,\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"OrderBy\": {\n \"Key\": \"duration_avg\",\n \"Value\": \"DESC\"\n }\n}",
|
93
93
|
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"LastPeriodValue\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": 71308388\n }\n ],\n \"CompareVal\": \"CompareByYesterday\",\n \"Unit\": \"s\",\n \"Value\": 691.42,\n \"Key\": \"duration_avg\",\n \"CompareVals\": [\n {\n \"Value\": \"CompareByYesterday\",\n \"Key\": \"2%\"\n },\n {\n \"Key\": \"CompareByLastWeek\",\n \"Value\": \"-1%\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"service.name\",\n \"Key\": \"java-order-demo\"\n }\n ]\n }\n ],\n \"RequestId\": \"test-test-test\",\n \"TotalCount\": 0\n }\n}",
|
94
94
|
"title": "通用指标列表接口"
|
95
95
|
}
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"DescribeServiceOverview": [
|
98
98
|
{
|
99
99
|
"document": "",
|
100
|
-
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceOverview\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Type\": \"=\",\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Metrics\": [\n {\n \"Compare\": \"CompareByYesterday\",\n \"MetricName\": \"service_request_count_sum\"\n }\n ],\n \"GroupBy\": [\n \"service.name\"\n ]\n}",
|
100
|
+
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceOverview\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Type\": \"=\",\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Metrics\": [\n {\n \"Compare\": \"CompareByYesterday\",\n \"MetricName\": \"service_request_count_sum\"\n }\n ],\n \"StartTime\": 1742374000,\n \"EndTime\": 1742374331,\n \"GroupBy\": [\n \"service.name\"\n ]\n}",
|
101
101
|
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"CompareVal\": \"\",\n \"CompareVals\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": \"-1.6%\"\n },\n {\n \"Key\": \"CompareByLastWeek\",\n \"Value\": \"-0.8%\"\n }\n ],\n \"Key\": \"service_request_count_sum\",\n \"LastPeriodValue\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": 125\n },\n {\n \"Key\": \"CompareByLastWeek\",\n \"Value\": 124\n }\n ],\n \"Unit\": \"\",\n \"Value\": 126\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-delivery-service\"\n }\n ]\n }\n ],\n \"RequestId\": \"c7a656fe-971c-47cc-8dc4-ae76630e4761\"\n }\n}",
|
102
102
|
"title": "获取应用概览数据"
|
103
103
|
}
|
@@ -105,7 +105,7 @@
|
|
105
105
|
"DescribeTagValues": [
|
106
106
|
{
|
107
107
|
"document": "根据维度列名和过滤条件,查询维度值",
|
108
|
-
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTagValues\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.instance\",\n \"Type\": \"=\",\n \"Value\": \"127.0.0.1\"\n }\n ],\n \"TagKey\": \"servier.name\",\n \"InstanceId\": \"apm-CVfliqa8U\"\n}",
|
108
|
+
"input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTagValues\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.instance\",\n \"Type\": \"=\",\n \"Value\": \"127.0.0.1\"\n }\n ],\n \"TagKey\": \"servier.name\",\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"StartTime\": 1742374000,\n \"EndTime\": 1742374331\n}",
|
109
109
|
"output": "{\n \"Response\": {\n \"RequestId\": \"apz12zicapy-eqixuc-uehq346v59c62\",\n \"Values\": [\n \"sso-api\",\n \"auth-api\"\n ]\n }\n}",
|
110
110
|
"title": "查询维度数据"
|
111
111
|
}
|