tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1241.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +66 -69
  3. tccli/services/apm/v20210622/examples.json +26 -26
  4. tccli/services/autoscaling/v20180419/api.json +12 -1
  5. tccli/services/batch/v20170312/api.json +11 -11
  6. tccli/services/billing/v20180709/api.json +20 -0
  7. tccli/services/cam/v20190116/api.json +1 -1
  8. tccli/services/car/v20220110/api.json +1 -1
  9. tccli/services/car/v20220110/examples.json +3 -3
  10. tccli/services/cdb/v20170320/api.json +582 -579
  11. tccli/services/cdb/v20170320/examples.json +9 -9
  12. tccli/services/cdwdoris/v20211228/api.json +40 -0
  13. tccli/services/cfg/v20210820/api.json +11 -0
  14. tccli/services/chdfs/v20201112/api.json +10 -10
  15. tccli/services/chdfs/v20201112/examples.json +1 -1
  16. tccli/services/cls/v20201016/api.json +1 -1
  17. tccli/services/cmq/v20190304/api.json +77 -77
  18. tccli/services/cvm/cvm_client.py +60 -325
  19. tccli/services/cvm/v20170312/api.json +618 -1401
  20. tccli/services/cvm/v20170312/examples.json +8 -48
  21. tccli/services/cwp/cwp_client.py +0 -53
  22. tccli/services/cwp/v20180228/api.json +0 -34
  23. tccli/services/cwp/v20180228/examples.json +0 -8
  24. tccli/services/cynosdb/v20190107/api.json +452 -458
  25. tccli/services/cynosdb/v20190107/examples.json +23 -23
  26. tccli/services/dbbrain/v20191016/api.json +16 -4
  27. tccli/services/dbbrain/v20191016/examples.json +5 -5
  28. tccli/services/dbbrain/v20210527/api.json +44 -44
  29. tccli/services/dbbrain/v20210527/examples.json +8 -8
  30. tccli/services/dts/v20180330/api.json +30 -30
  31. tccli/services/dts/v20180330/examples.json +4 -4
  32. tccli/services/dts/v20211206/api.json +19 -9
  33. tccli/services/dts/v20211206/examples.json +5 -5
  34. tccli/services/ecm/v20190719/api.json +55 -48
  35. tccli/services/ecm/v20190719/examples.json +7 -7
  36. tccli/services/emr/emr_client.py +493 -16
  37. tccli/services/emr/v20190103/api.json +1323 -246
  38. tccli/services/emr/v20190103/examples.json +72 -0
  39. tccli/services/ess/v20201111/api.json +13 -4
  40. tccli/services/essbasic/v20210526/api.json +11 -2
  41. tccli/services/essbasic/v20210526/examples.json +12 -0
  42. tccli/services/faceid/v20180301/api.json +3 -3
  43. tccli/services/gaap/v20180529/api.json +181 -183
  44. tccli/services/gaap/v20180529/examples.json +31 -37
  45. tccli/services/gs/v20191118/api.json +3 -3
  46. tccli/services/gs/v20191118/examples.json +3 -3
  47. tccli/services/iai/iai_client.py +53 -0
  48. tccli/services/iai/v20200303/api.json +80 -0
  49. tccli/services/iai/v20200303/examples.json +14 -0
  50. tccli/services/iotexplorer/v20190423/api.json +10 -0
  51. tccli/services/keewidb/v20220308/api.json +188 -190
  52. tccli/services/live/v20180801/api.json +323 -222
  53. tccli/services/live/v20180801/examples.json +79 -79
  54. tccli/services/mna/v20210119/api.json +20 -20
  55. tccli/services/mps/v20190612/api.json +40 -0
  56. tccli/services/oceanus/v20190422/api.json +407 -39
  57. tccli/services/oceanus/v20190422/examples.json +1 -1
  58. tccli/services/ocr/v20181119/api.json +50 -0
  59. tccli/services/sqlserver/v20180328/api.json +235 -139
  60. tccli/services/sqlserver/v20180328/examples.json +2 -2
  61. tccli/services/ssl/v20191205/api.json +777 -779
  62. tccli/services/ssl/v20191205/examples.json +8 -8
  63. tccli/services/tbaas/v20180416/api.json +118 -82
  64. tccli/services/tbaas/v20180416/examples.json +7 -7
  65. tccli/services/tcb/v20180608/api.json +18 -18
  66. tccli/services/tcb/v20180608/examples.json +2 -2
  67. tccli/services/tcm/v20210413/api.json +6 -6
  68. tccli/services/tcm/v20210413/examples.json +1 -1
  69. tccli/services/tcr/v20190924/api.json +17 -12
  70. tccli/services/tdmq/v20200217/api.json +18 -0
  71. tccli/services/tem/v20210701/api.json +439 -280
  72. tccli/services/tem/v20210701/examples.json +39 -39
  73. tccli/services/tke/v20180525/api.json +50 -39
  74. tccli/services/tke/v20180525/examples.json +51 -21
  75. tccli/services/trro/v20220325/api.json +27 -27
  76. tccli/services/trro/v20220325/examples.json +1 -1
  77. tccli/services/tse/v20201207/api.json +46 -9
  78. tccli/services/tse/v20201207/examples.json +31 -31
  79. tccli/services/tsf/v20180326/api.json +448 -434
  80. tccli/services/tsf/v20180326/examples.json +122 -122
  81. tccli/services/tts/v20190823/api.json +1 -1
  82. tccli/services/vpc/v20170312/api.json +278 -37
  83. tccli/services/vpc/v20170312/examples.json +56 -8
  84. tccli/services/vpc/vpc_client.py +159 -0
  85. tccli/services/waf/v20180125/api.json +303 -4
  86. tccli/services/waf/v20180125/examples.json +25 -1
  87. tccli/services/waf/waf_client.py +163 -4
  88. {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
  89. {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +92 -92
  90. {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
  91. {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
  92. {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,10 +2,10 @@
2
2
  "actions": {
3
3
  "CreateApmInstance": [
4
4
  {
5
- "document": "创建APM实例",
6
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApmInstance\n<公共请求参数>\n\n{\n \"Name\": \"云监控-测试\",\n \"Description\": \"测试环境\",\n \"Tags\": [\n {\n \"Key\": \"appid\",\n \"Value\": \"123123422\"\n }\n ]\n}",
7
- "output": "{\n \"Response\": {\n \"InstanceId\": \"sSBebnOhf\",\n \"RequestId\": \"49fktc24elkfi4a1mkyir-9t2pt2stlx\"\n }\n}",
8
- "title": "创建APM实例"
5
+ "document": "创建 APM 业务系统",
6
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApmInstance\n<公共请求参数>\n\n{\n \"Name\": \"可观测-测试\",\n \"Description\": \"测试环境\",\n \"Tags\": [\n {\n \"Key\": \"appid\",\n \"Value\": \"123123422\"\n }\n ]\n}",
7
+ "output": "{\n \"Response\": {\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"RequestId\": \"49fktc24elkfi4a1mkyir-9t2pt2stlx\"\n }\n}",
8
+ "title": "创建 APM 业务系统"
9
9
  }
10
10
  ],
11
11
  "DescribeApmAgent": [
@@ -13,7 +13,7 @@
13
13
  "document": "",
14
14
  "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApmAgent\n<公共请求参数>\n\n{\n \"InstanceId\": \"jYm6_leMg\"\n}",
15
15
  "output": "{\n \"Response\": {\n \"ApmAgent\": {\n \"CollectorURL\": \"http://127.0.0.1:8080\",\n \"AgentDownloadURL\": \"https://agent.tapm.tencentyun.com/DownloadAgent\",\n \"Token\": \"14dac76ca10f4610f727ca68528758b43980251387493706d18988fa7d0621b7\",\n \"PublicCollectorURL\": \"http://127.0.0.1:8080\",\n \"InnerCollectorURL\": \"http://127.0.0.1:8080\",\n \"PrivateLinkCollectorURL\": \"http://127.0.0.1:8080\"\n },\n \"RequestId\": \"mzltx5whme-zl7je3p16tk5fwtb7ht61\"\n }\n}",
16
- "title": "获取Apm Agent信息"
16
+ "title": "获取 APM Agent信息"
17
17
  }
18
18
  ],
19
19
  "DescribeApmInstances": [
@@ -34,25 +34,25 @@
34
34
  ],
35
35
  "DescribeGeneralMetricData": [
36
36
  {
37
- "document": "该示例查询实例为 apm-059oXBfTL,按照 service.name(服务名)、span.kind(客户端/服务端视角)为维度过滤,以 service.name(服务名)、span.kind(客户端/服务端视角)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 request_count(请求数量)、error_request_count(错误请求数量)、duration_avg(平均响应时间)、slow_request_count(慢请求数量)、duration_p50(耗时 p50)的指标数据。",
37
+ "document": "该示例查询业务系统为 apm-059oXBfTL,按照 service.name(应用名)、span.kind(客户端/服务端视角)为维度过滤,以 service.name(应用名)、span.kind(客户端/服务端视角)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 request_count(请求数量)、error_request_count(错误请求数量)、duration_avg(平均响应时间)、slow_request_count(慢请求数量)、duration_p50(耗时 p50)的指标数据。",
38
38
  "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralMetricData\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"ViewName\": \"service_metric\",\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Period\": 60,\n \"Metrics\": [\n \"request_count\",\n \"error_request_count\",\n \"duration_avg\",\n \"slow_request_count\",\n \"duration_p50\"\n ],\n \"StartTime\": 1734415200,\n \"EndTime\": 1734418800,\n \"GroupBy\": [\n \"service.name\",\n \"span.kind\"\n ]\n}",
39
39
  "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"request_count\",\n \"MetricNameCN\": \"总请求数\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 22,\n 32,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 32,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 26,\n 28,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 32,\n 12,\n 22,\n 22,\n 32,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 22,\n 32,\n 22,\n 12,\n 22,\n 22\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n }\n ],\n \"MetricName\": \"error_request_count\",\n \"MetricNameCN\": \"异常数量\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 191.5860133181818,\n 191.2110746363636,\n 191.23246599999996,\n 191.5040949090909,\n 191.934274,\n 192.05015977272723,\n 191.4917418636364,\n 191.7598401818182,\n 191.47329104545454,\n 191.35408840909093,\n 191.7695753181818,\n 192.1501132727273,\n 191.6614135,\n 191.72522395454544,\n 193.92501624242422,\n 209.9224584090909,\n 192.50587436363637,\n 193.14908313636363,\n 200.8337476363636,\n 192.21551695454545,\n 191.87317959090907,\n 191.85476931818184,\n 192.0314575909091,\n 192.14624168181817,\n 192.0624055,\n 192.35865707575758,\n 191.87331737878793,\n 191.806969,\n 192.35163881818187,\n 192.29478813636362,\n 192.3707790454545,\n 191.8557721363636,\n 191.59646177272725,\n 191.55687904545456,\n 191.59595163636365,\n 191.84944554545453,\n 191.78630649999997,\n 191.91973590909092,\n 191.90514081818182,\n 191.9165850909091,\n 191.98103199999997,\n 191.98323287878785,\n 193.0803381818182,\n 192.14093727272729,\n 192.24286899999998,\n 192.6753041818182,\n 192.2717468636364,\n 192.41461836363635,\n 192.3725805,\n 191.84485977272726,\n 191.85852840909092,\n 191.86218731818178,\n 191.6467590454545,\n 191.52699904545452,\n 191.57099809090911,\n 192.2197160909091,\n 191.91881845454546,\n 191.98860699999997,\n 224.0602859090909,\n 192.05223709090907\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"slow_request_count\",\n \"MetricNameCN\": \"慢调用\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 2,\n 3,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 3,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 3,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 3,\n 1,\n 2,\n 2,\n 3,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 2,\n 3,\n 2,\n 1,\n 2,\n 2\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"duration_p50\",\n \"MetricNameCN\": \"P50 响应时间\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 10,\n 10,\n 9.375,\n 14,\n 14,\n 14,\n 10,\n 9.375,\n 9.285714285714285,\n 9.166666666666668,\n 10,\n 14,\n 14,\n 14,\n 15.714285714285714,\n 14.444444444444445,\n 14,\n 14,\n 14.444444444444445,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 13.333333333333332,\n 16.153846153846153,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 15.333333333333332,\n 16.666666666666664,\n 14,\n 14,\n 15.333333333333332,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 14,\n 15.333333333333332,\n 14,\n 10,\n 14.444444444444445,\n 14\n ]\n }\n ],\n \"RequestId\": \"test-test-test\"\n }\n}",
40
40
  "title": "查询1分钟聚合粒度的 service_metric 指标数据示例"
41
41
  },
42
42
  {
43
- "document": "该示例查询实例为 apm-059oXBfTL,按照 service.name(服务名)、span.kind(客户端/服务端视角)为维度过滤,以 service.name(服务名)、span.kind(客户端/服务端视角)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 request_count(请求数量)、error_request_count(错误请求数量)、duration_avg(平均响应时间)、slow_request_count(慢请求数量)、duration_p50(耗时 p50)的指标数据。",
43
+ "document": "该示例查询业务系统为 apm-059oXBfTL,按照 service.name(应用名)、span.kind(客户端/服务端视角)为维度过滤,以 service.name(应用名)、span.kind(客户端/服务端视角)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 request_count(请求数量)、error_request_count(错误请求数量)、duration_avg(平均响应时间)、slow_request_count(慢请求数量)、duration_p50(耗时 p50)的指标数据。",
44
44
  "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralMetricData\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"ViewName\": \"service_metric\",\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Metrics\": [\n \"request_count\",\n \"error_request_count\",\n \"duration_avg\",\n \"slow_request_count\",\n \"duration_p50\"\n ],\n \"StartTime\": 1734415200,\n \"EndTime\": 1734418800,\n \"GroupBy\": [\n \"service.name\",\n \"span.kind\"\n ]\n}",
45
45
  "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"request_count\",\n \"MetricNameCN\": \"总请求数\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 1360\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"error_request_count\",\n \"MetricNameCN\": \"异常数量\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 0\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 192.96957006641412\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"slow_request_count\",\n \"MetricNameCN\": \"慢调用\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 124\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"duration_p50\",\n \"MetricNameCN\": \"P50 响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 13.443708609271523\n ]\n }\n ],\n \"RequestId\": \"test-test-test\"\n }\n}",
46
46
  "title": "查询起始到终止时间内统计 service_metric 指标数据示例"
47
47
  },
48
48
  {
49
- "document": "该示例查询实例为 apm-059oXBfTL,按照 service.name(服务名)为维度过滤,以 service.name(服务名)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 error_request_count(错误请求数量)、duration_avg(平均响应时间)的指标数据。",
49
+ "document": "该示例查询业务系统为 apm-059oXBfTL,按照 service.name(应用名)为维度过滤,以 service.name(应用名)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 error_request_count(错误请求数量)、duration_avg(平均响应时间)的指标数据。",
50
50
  "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralMetricData\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n }\n ],\n \"ViewName\": \"sql_metric\",\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Period\": 60,\n \"Metrics\": [\n \"error_request_count\",\n \"duration_avg\"\n ],\n \"StartTime\": 1734415200,\n \"EndTime\": 1734418800,\n \"GroupBy\": [\n \"service.name\"\n ]\n}",
51
51
  "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n }\n ],\n \"MetricName\": \"error_request_count\",\n \"MetricNameCN\": \"错误数\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0,\n 0\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [\n 1734415200,\n 1734415260,\n 1734415320,\n 1734415380,\n 1734415440,\n 1734415500,\n 1734415560,\n 1734415620,\n 1734415680,\n 1734415740,\n 1734415800,\n 1734415860,\n 1734415920,\n 1734415980,\n 1734416040,\n 1734416100,\n 1734416160,\n 1734416220,\n 1734416280,\n 1734416340,\n 1734416400,\n 1734416460,\n 1734416520,\n 1734416580,\n 1734416640,\n 1734416700,\n 1734416760,\n 1734416820,\n 1734416880,\n 1734416940,\n 1734417000,\n 1734417060,\n 1734417120,\n 1734417180,\n 1734417240,\n 1734417300,\n 1734417360,\n 1734417420,\n 1734417480,\n 1734417540,\n 1734417600,\n 1734417660,\n 1734417720,\n 1734417780,\n 1734417840,\n 1734417900,\n 1734417960,\n 1734418020,\n 1734418080,\n 1734418140,\n 1734418200,\n 1734418260,\n 1734418320,\n 1734418380,\n 1734418440,\n 1734418500,\n 1734418560,\n 1734418620,\n 1734418680,\n 1734418740\n ],\n \"DataSerial\": [\n 504.4455225,\n 504.49955074999997,\n 504.50165175000006,\n 504.55699425,\n 504.5483053749999,\n 504.547519,\n 504.73789837500004,\n 504.46199262500005,\n 504.1922,\n 504.22497787500004,\n 504.18011225000004,\n 504.04929475,\n 504.14939112499997,\n 504.45689225,\n 504.4441259166667,\n 504.4853475,\n 504.55031125,\n 504.458504875,\n 504.49732837499994,\n 504.50629599999996,\n 504.439337,\n 504.272122,\n 504.267848625,\n 504.28821525,\n 504.268522875,\n 504.28563437500003,\n 504.25491391666674,\n 504.20538062500003,\n 504.54045425000004,\n 504.67349375000003,\n 504.71599025,\n 504.54132337499993,\n 504.69503825,\n 504.74425037500004,\n 504.637164375,\n 504.62155600000006,\n 504.628113,\n 505.07725949999997,\n 504.65562800000004,\n 504.443061375,\n 504.420146125,\n 504.41736325000005,\n 507.28285875,\n 504.59916025,\n 504.50750687499993,\n 504.67656166666666,\n 504.687698625,\n 504.7468005,\n 504.728723,\n 504.71881125,\n 504.6750935,\n 504.45997087499995,\n 504.48766912499997,\n 504.5063645,\n 504.670277625,\n 504.88526525,\n 505.09475625,\n 505.13066475,\n 505.103745375,\n 505.101275\n ]\n }\n ],\n \"RequestId\": \"test-test-test\"\n }\n}",
52
52
  "title": "查询1分钟聚合粒度的 sql_metric 指标数据示例"
53
53
  },
54
54
  {
55
- "document": "该示例查询实例为apm-059oXBfTL,按照 db.instance(数据库名称)为维度过滤,以 service.name(服务名)、db.statement(执行语句)为维度进行聚合,查找开始时间-终止时间内 top5 的 duration_avg(耗时(ms))的指标数据。",
55
+ "document": "该示例查询业务系统为apm-059oXBfTL,按照 db.instance(数据库名称)为维度过滤,以 service.name(应用名)、db.statement(执行语句)为维度进行聚合,查找开始时间-终止时间内 top5 的 duration_avg(耗时(ms))的指标数据。",
56
56
  "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralMetricData\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"db.instance\",\n \"Value\": \"mock_project_db\"\n }\n ],\n \"ViewName\": \"sql_metric\",\n \"InstanceId\": \"apm-059oXBfTL\",\n \"Metrics\": [\n \"duration_avg\"\n ],\n \"StartTime\": 1734415200,\n \"EndTime\": 1734418800,\n \"GroupBy\": [\n \"service.name\",\n \"db.statement\"\n ],\n \"OrderBy\": {\n \"Key\": \"sql_duration_avg\",\n \"Value\": \"desc\"\n },\n \"PageSize\": 5\n}",
57
57
  "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select sleep(?)\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 2005.583661869444\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-stock-service\"\n },\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select dept, count(dept) as total from mock_project_userinfo\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 5.746467460185185\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select dept, count(dept) as total from mock_project_userinfo\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-user-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 5.719407256481479\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * from mock_project_userinfo\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-order-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 5.677464627777778\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * from mock_project_userinfo\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-delivery-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 5.636013505555556\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * om un_exist_table limit ?\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-delivery-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 5.514262441666669\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select dept, count(dept) as total from mock_project_userinfo\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"ot-java-market-service\"\n }\n ],\n \"MetricName\": \"duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": [],\n \"DataSerial\": [\n 5.44814345277778\n ]\n }\n ],\n \"RequestId\": \"test-test-test\"\n }\n}",
58
58
  "title": "查询起始到终止时间内统计 sql_metric 的 duration_avg(耗时时间)指标数据示例"
@@ -61,37 +61,37 @@
61
61
  "DescribeGeneralSpanList": [
62
62
  {
63
63
  "document": "根据traceId列表批量查询span,Filters查询参数中将Type设置为in,将traceId列表通过,隔开。",
64
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\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}",
65
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"xx\",\n \"Spans\": [\n {\n \"TraceID\": \"xx\",\n \"Logs\": [\n {\n \"Timestamp\": 0,\n \"Fields\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"Process\": {\n \"ServiceName\": \"xx\",\n \"Tags\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"xx\",\n \"References\": [\n {\n \"RefType\": \"xx\",\n \"SpanID\": \"xx\",\n \"TraceID\": \"xx\"\n }\n ],\n \"StartTime\": 0,\n \"Duration\": 0,\n \"SpanID\": \"xx\",\n \"StartTimeMillis\": 0\n }\n ]\n }\n}",
64
+ "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}",
65
+ "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}",
66
66
  "title": "通用查询调用链列表"
67
67
  },
68
68
  {
69
69
  "document": "指定tag过滤条件拿到span列表。",
70
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGeneralSpanList\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\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}",
71
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"xx\",\n \"Spans\": [\n {\n \"TraceID\": \"xx\",\n \"Logs\": [\n {\n \"Timestamp\": 0,\n \"Fields\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"Process\": {\n \"ServiceName\": \"xx\",\n \"Tags\": [\n {\n \"Type\": \"xx\",\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"xx\",\n \"References\": [\n {\n \"RefType\": \"xx\",\n \"SpanID\": \"xx\",\n \"TraceID\": \"xx\"\n }\n ],\n \"StartTime\": 0,\n \"Duration\": 0,\n \"SpanID\": \"xx\",\n \"StartTimeMillis\": 0\n }\n ]\n }\n}",
70
+ "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}",
71
+ "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\": \"test\",\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\": \"test\",\n \"Value\": \"=\",\n \"Key\": \"test2\"\n }\n ]\n },\n \"Timestamp\": 0,\n \"OperationName\": \"/test\",\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}",
72
72
  "title": "通用查询调用链列表2"
73
73
  }
74
74
  ],
75
75
  "DescribeMetricRecords": [
76
76
  {
77
- "document": "场景一",
77
+ "document": "场景1",
78
78
  "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMetricRecords\n<公共请求参数>\n\n{\n \"OrderBy\": {\n \"Key\": \"service_duration_avg\",\n \"Value\": \"DESC\"\n },\n \"Filters\": [\n {\n \"Type\": \"=\",\n \"Key\": \"span.kind\",\n \"Value\": \"server\"\n }\n ],\n \"InstanceId\": \"apm-6xYKFXYxo\",\n \"BusinessName\": \"taw\",\n \"Metrics\": [\n {\n \"Compare\": \"1\",\n \"Compares\": [\n \"CompareByYesterday\",\n \"CompareByLastWeek\"\n ],\n \"MetricName\": \"qps\"\n }\n ],\n \"Limit\": \"10\",\n \"StartTime\": \"1618361193\",\n \"Offset\": \"22\",\n \"EndTime\": \"1618677137\",\n \"PageIndex\": 1,\n \"PageSize\": 10,\n \"GroupBy\": [\n \"service.instance\"\n ]\n}",
79
- "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"CompareVal\": \"abc\",\n \"CompareVals\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"Value\": 0,\n \"Unit\": \"abc\",\n \"Key\": \"abc\",\n \"LastPeriodValue\": [\n {\n \"Key\": \"abc\",\n \"Value\": 0\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
80
- "title": "请求参数实例"
79
+ "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"CompareVal\": \"\",\n \"CompareVals\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": \"1%\"\n }\n ],\n \"Value\": 0,\n \"Unit\": \"\",\n \"Key\": \"service_duration_avg\",\n \"LastPeriodValue\": [\n {\n \"Key\": \"CompareByYesterday\",\n \"Value\": 71308388\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-order-demo\"\n }\n ]\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"test-test-test\"\n }\n}",
80
+ "title": "请求参数示例"
81
81
  },
82
82
  {
83
83
  "document": "场景2",
84
84
  "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}",
85
- "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Fields\": [\n {\n \"LastPeriodValue\": [\n {\n \"Key\": \"abc\",\n \"Value\": 0\n }\n ],\n \"CompareVal\": \"abc\",\n \"Unit\": \"s\",\n \"Value\": 691.42,\n \"Key\": \"ab\",\n \"CompareVals\": [\n {\n \"Value\": \"v1\",\n \"Key\": \"k1\"\n },\n {\n \"Key\": \"k2\",\n \"Value\": \"v2\"\n }\n ]\n }\n ],\n \"Tags\": [\n {\n \"Value\": \"v1\",\n \"Key\": \"k1\"\n }\n ]\n }\n ],\n \"RequestId\": \"re\",\n \"TotalCount\": 0\n }\n}",
85
+ "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}",
86
86
  "title": "通用指标列表接口"
87
87
  }
88
88
  ],
89
89
  "DescribeServiceOverview": [
90
90
  {
91
91
  "document": "",
92
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServiceOverview\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Key\": \"span.kind\",\n \"Type\": \"=\",\n \"Value\": \"SPAN_KIND_SERVER\"\n }\n ],\n \"Metrics\": [\n {\n \"MetricName\": \"service_duration_avg\",\n \"Compare\": 1\n },\n {\n \"MetricName\": \"request_count_sum\"\n }\n ],\n \"GroupBy\": [\n \"operation\",\n \"service.component\"\n ],\n \"Limit\": 10,\n \"Offset\": 1,\n \"StartTime\": 1618361193,\n \"EndTime\": 1618677137,\n \"OrderBy\": {\n \"Key\": \"service_duration_avg\",\n \"Value\": \"DESC\"\n }\n}",
93
- "output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"/DescribeAlarmList\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"HTTP\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 0.02383373177662466,\n \"CompareVal\": -0.004148131882911392\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 31184,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"/collector.CollectorService/PostSpans\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"gRPC\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 18.811467216411906,\n \"CompareVal\": 0.17306355798699288\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 4986,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"/notify.Notify/SendAlert\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"gRPC\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 9.486143798828124,\n \"CompareVal\": 0.4454246545216073\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 4111,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"HTTP GET\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"net/http\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 14.46367618133845,\n \"CompareVal\": 1\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 8345,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"HTTP POST\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"net/http\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 12.396896973135917,\n \"CompareVal\": 0.1693196368191666\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 15094,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"http_server_root\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"net/http\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 68.29158163921177,\n \"CompareVal\": -0.05762747632987753\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 104642033,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"service.component\",\n \"Value\": \"httpserverv3\"\n },\n {\n \"Key\": \"operation\",\n \"Value\": \"Ping\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 0.4196629148780232,\n \"CompareVal\": 1\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 10182,\n \"CompareVal\": 0\n }\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"operation\",\n \"Value\": \"microServer_cdbwan\"\n },\n {\n \"Key\": \"service.component\",\n \"Value\": \"httpserverv3\"\n }\n ],\n \"Fields\": [\n {\n \"Key\": \"service_duration_avg\",\n \"Value\": 3.6889778198423007,\n \"CompareVal\": 0.15496546525321617\n },\n {\n \"Key\": \"request_count_sum\",\n \"Value\": 191205,\n \"CompareVal\": 0\n }\n ]\n }\n ],\n \"RequestId\": \"fyy3-g7ujmxbouxshy3plmkmhlnmdbfh\"\n }\n}",
94
- "title": "获取服务概览数据"
92
+ "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}",
93
+ "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}",
94
+ "title": "获取应用概览数据"
95
95
  }
96
96
  ],
97
97
  "DescribeTagValues": [
@@ -104,9 +104,9 @@
104
104
  ],
105
105
  "ModifyApmInstance": [
106
106
  {
107
- "document": "修改APM Instance参数",
108
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApmInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Tags\": [],\n \"Description\": \"abc\",\n \"TraceDuration\": 0,\n \"Name\": \"abc\",\n \"OpenBilling\": true,\n \"SpanDailyCounters\": 1,\n \"ErrRateThreshold\": 5,\n \"SampleRate\": 50,\n \"ErrorSample\": 1,\n \"SlowRequestSavedThreshold\": 500,\n \"IsRelatedLog\": 0,\n \"LogRegion\": \"\",\n \"LogTopicID\": \"\",\n \"LogSet\": \"\",\n \"LogSource\": \"\"\n}",
109
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
107
+ "document": "修改 APM 业务系统参数",
108
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApmInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"apm-CVfliqa8U\",\n \"Tags\": [],\n \"Description\": \"测试业务系统\",\n \"TraceDuration\": 0,\n \"Name\": \"测试业务系统\",\n \"OpenBilling\": true,\n \"SpanDailyCounters\": 1,\n \"ErrRateThreshold\": 5,\n \"SampleRate\": 50,\n \"ErrorSample\": 1,\n \"SlowRequestSavedThreshold\": 500,\n \"IsRelatedLog\": 0,\n \"LogRegion\": \"\",\n \"LogTopicID\": \"\",\n \"LogSet\": \"\",\n \"LogSource\": \"\"\n}",
109
+ "output": "{\n \"Response\": {\n \"RequestId\": \"test-test-test\"\n }\n}",
110
110
  "title": "成功事例"
111
111
  }
112
112
  ],
@@ -120,10 +120,10 @@
120
120
  ],
121
121
  "TerminateApmInstance": [
122
122
  {
123
- "document": "销毁apm实例",
124
- "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateApmInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"6Dxp7Nd0B\"\n}",
123
+ "document": "销毁 APM 业务系统",
124
+ "input": "POST / HTTP/1.1\nHost: apm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateApmInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"apm-CVfliqa8U\"\n}",
125
125
  "output": "{\n \"Response\": {\n \"RequestId\": \"9cnw2qyy-tqjmp6knytyi8dkzvd7fl9v\"\n }\n}",
126
- "title": "销毁apm实例"
126
+ "title": "销毁 APM 业务系统"
127
127
  }
128
128
  ]
129
129
  },
@@ -7115,7 +7115,7 @@
7115
7115
  },
7116
7116
  {
7117
7117
  "disabled": false,
7118
- "document": "自动更新实例标签。默认取值为 false,配置后如伸缩组标签发生更新,会同步更新(同步更新仅支持新增、修改标签,暂不支持删除标签)伸缩组内运行中状态实例的标签,同步更新非立即生效,存在一定延迟。",
7118
+ "document": "自动更新实例标签。默认取值为 False,配置后如伸缩组标签发生更新,会同步更新(同步更新仅支持新增、修改标签,暂不支持删除标签)伸缩组内运行中状态实例的标签,同步更新非立即生效,存在一定延迟。",
7119
7119
  "example": "False",
7120
7120
  "member": "bool",
7121
7121
  "name": "AutoUpdateInstanceTags",
@@ -7123,6 +7123,17 @@
7123
7123
  "required": false,
7124
7124
  "type": "bool",
7125
7125
  "value_allowed_null": false
7126
+ },
7127
+ {
7128
+ "disabled": false,
7129
+ "document": "期望实例数同步最大最小值。默认值为 False。该参数仅对修改伸缩组接口未传入期望数的场景生效。\n<li>True: 修改最大值或最小值时,如与当前期望数存在冲突,则同步调整期望数。例如修改时传入最小值 2,当前期望数为 1,则同步调整期望数为 2。</li>\n<li>False: 修改最大值或最小值时,如与当前期望数存在冲突,报错提示不允许修改。</li>",
7130
+ "example": "False",
7131
+ "member": "bool",
7132
+ "name": "DesiredCapacitySyncWithMaxMinSize",
7133
+ "output_required": true,
7134
+ "required": false,
7135
+ "type": "bool",
7136
+ "value_allowed_null": false
7126
7137
  }
7127
7138
  ],
7128
7139
  "usage": "both"
@@ -4331,50 +4331,50 @@
4331
4331
  {
4332
4332
  "disabled": false,
4333
4333
  "document": "本地磁盘类型。",
4334
- "example": "",
4334
+ "example": "LOCAL_BASIC",
4335
4335
  "member": "string",
4336
4336
  "name": "Type",
4337
- "required": true,
4337
+ "output_required": true,
4338
4338
  "type": "string",
4339
4339
  "value_allowed_null": false
4340
4340
  },
4341
4341
  {
4342
4342
  "disabled": false,
4343
4343
  "document": "本地磁盘属性。",
4344
- "example": "",
4344
+ "example": "ROOT",
4345
4345
  "member": "string",
4346
4346
  "name": "PartitionType",
4347
- "required": true,
4347
+ "output_required": true,
4348
4348
  "type": "string",
4349
4349
  "value_allowed_null": false
4350
4350
  },
4351
4351
  {
4352
4352
  "disabled": false,
4353
4353
  "document": "本地磁盘最小值。",
4354
- "example": "",
4354
+ "example": "10",
4355
4355
  "member": "int64",
4356
4356
  "name": "MinSize",
4357
- "required": true,
4357
+ "output_required": true,
4358
4358
  "type": "int",
4359
4359
  "value_allowed_null": false
4360
4360
  },
4361
4361
  {
4362
4362
  "disabled": false,
4363
4363
  "document": "本地磁盘最大值。",
4364
- "example": "",
4364
+ "example": "20",
4365
4365
  "member": "int64",
4366
4366
  "name": "MaxSize",
4367
- "required": true,
4367
+ "output_required": true,
4368
4368
  "type": "int",
4369
4369
  "value_allowed_null": false
4370
4370
  },
4371
4371
  {
4372
4372
  "disabled": false,
4373
- "document": "购买时本地盘是否为必选。取值范围:<br><li>REQUIRED:表示必选<br><li>OPTIONAL:表示可选。",
4374
- "example": "",
4373
+ "document": "购买时本地盘是否为必选。取值范围:<br><li>REQUIRED:表示必选</li><li>OPTIONAL:表示可选。</li>",
4374
+ "example": "REQUIRED",
4375
4375
  "member": "string",
4376
4376
  "name": "Required",
4377
- "required": true,
4377
+ "output_required": true,
4378
4378
  "type": "string",
4379
4379
  "value_allowed_null": false
4380
4380
  }
@@ -15691,6 +15691,26 @@
15691
15691
  "output_required": true,
15692
15692
  "type": "list",
15693
15693
  "value_allowed_null": false
15694
+ },
15695
+ {
15696
+ "disabled": false,
15697
+ "document": "使用说明/批次备注",
15698
+ "example": "不限使用",
15699
+ "member": "string",
15700
+ "name": "PolicyRemark",
15701
+ "output_required": false,
15702
+ "type": "string",
15703
+ "value_allowed_null": false
15704
+ },
15705
+ {
15706
+ "disabled": false,
15707
+ "document": "发券时间",
15708
+ "example": "2017-03-08 15:25:20",
15709
+ "member": "string",
15710
+ "name": "CreateTime",
15711
+ "output_required": false,
15712
+ "type": "string",
15713
+ "value_allowed_null": false
15694
15714
  }
15695
15715
  ],
15696
15716
  "usage": "out"
@@ -4159,7 +4159,7 @@
4159
4159
  {
4160
4160
  "disabled": false,
4161
4161
  "document": "子用户备注\n注意:此字段可能返回 null,表示取不到有效值。",
4162
- "example": "test",
4162
+ "example": "Jack",
4163
4163
  "member": "string",
4164
4164
  "name": "Remark",
4165
4165
  "output_required": true,
@@ -210,7 +210,7 @@
210
210
  {
211
211
  "disabled": false,
212
212
  "document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
213
- "example": "abc",
213
+ "example": "639d069e-a13a-437a-a10b-64a33ecb8e78",
214
214
  "member": "string",
215
215
  "name": "UserId",
216
216
  "required": true,
@@ -19,7 +19,7 @@
19
19
  "DestroySession": [
20
20
  {
21
21
  "document": "",
22
- "input": "POST / HTTP/1.1\nHost: car.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroySession\n<公共请求参数>\n\n{\n \"UserId\": \"abc\"\n}",
22
+ "input": "POST / HTTP/1.1\nHost: car.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroySession\n<公共请求参数>\n\n{\n \"UserId\": \"639d069e-a13a-437a-a10b-64a33ecb8e78\"\n}",
23
23
  "output": "{\n \"Response\": {\n \"RequestId\": \"fcf4146f-64d3-496c-88dc-d12f832de313\"\n }\n}",
24
24
  "title": "DestroySession示例"
25
25
  }
@@ -35,8 +35,8 @@
35
35
  "StartPublishStreamWithURL": [
36
36
  {
37
37
  "document": "开始云端推流到指定URL示例",
38
- "input": "POST / HTTP/1.1\nHost: car.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishStreamWithURL\n<公共请求参数>\n\n{\n \"UserId\": \"abc\",\n \"PublishStreamURL\": \"abc\"\n}",
39
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
38
+ "input": "POST / HTTP/1.1\nHost: car.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartPublishStreamWithURL\n<公共请求参数>\n\n{\n \"UserId\": \"user_id\",\n \"PublishStreamURL\": \"rtmp://1.1.1.1:1935/live/my_live\"\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"25b6f399-bd7c-4e5e-99a3-9a6f4b11e1b7\"\n }\n}",
40
40
  "title": "开始云端推流到指定URL示例"
41
41
  }
42
42
  ],