tccli 3.0.1236.1__py2.py3-none-any.whl → 3.0.1238.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aca/__init__.py +4 -0
- tccli/services/aca/aca_client.py +578 -0
- tccli/services/aca/v20210323/api.json +3715 -0
- tccli/services/aca/v20210323/examples.json +69 -0
- tccli/services/aiart/v20221229/api.json +18 -9
- tccli/services/aiart/v20221229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +25 -22
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/batch/v20170312/api.json +641 -566
- tccli/services/batch/v20170312/examples.json +7 -7
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/bpaas/v20181217/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +116 -99
- tccli/services/cam/v20190116/examples.json +11 -11
- tccli/services/ccc/v20200210/api.json +40 -1
- tccli/services/ccc/v20200210/examples.json +1 -1
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +257 -207
- tccli/services/cdb/v20170320/examples.json +18 -10
- tccli/services/cdwch/v20200915/api.json +6 -6
- tccli/services/cdwdoris/v20211228/api.json +16 -5
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cfg/v20210820/api.json +29 -13
- tccli/services/cfg/v20210820/examples.json +1 -1
- tccli/services/cfs/v20190719/api.json +84 -84
- tccli/services/cfs/v20190719/examples.json +6 -6
- tccli/services/chdfs/v20201112/api.json +18 -17
- tccli/services/chdfs/v20201112/examples.json +2 -2
- tccli/services/clb/v20180317/api.json +184 -162
- tccli/services/cloudapp/v20220530/api.json +11 -1
- tccli/services/cloudapp/v20220530/examples.json +3 -3
- tccli/services/cloudaudit/v20190319/api.json +64 -53
- tccli/services/cloudaudit/v20190319/examples.json +5 -5
- tccli/services/cls/v20201016/api.json +21 -21
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/config/v20220802/api.json +2 -0
- tccli/services/config/v20220802/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +390 -387
- tccli/services/dcdb/v20180411/examples.json +14 -14
- tccli/services/dlc/v20210125/api.json +162 -7
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/v20180808/api.json +55 -54
- tccli/services/domain/v20180808/examples.json +38 -32
- tccli/services/dsgc/v20190723/api.json +1796 -1623
- tccli/services/dsgc/v20190723/examples.json +217 -211
- tccli/services/dts/v20180330/api.json +143 -106
- tccli/services/dts/v20211206/api.json +57 -46
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/ecm/v20190719/api.json +6 -6
- tccli/services/emr/v20190103/api.json +80 -20
- tccli/services/ess/ess_client.py +118 -12
- tccli/services/ess/v20201111/api.json +320 -37
- tccli/services/ess/v20201111/examples.json +19 -3
- tccli/services/essbasic/essbasic_client.py +167 -8
- tccli/services/essbasic/v20210526/api.json +528 -55
- tccli/services/essbasic/v20210526/examples.json +46 -16
- tccli/services/facefusion/v20220927/api.json +12 -1
- tccli/services/fmu/v20191213/api.json +8 -8
- tccli/services/gaap/v20180529/api.json +200 -209
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hai/v20230812/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iss/v20230517/api.json +11 -11
- tccli/services/iss/v20230517/examples.json +31 -31
- tccli/services/keewidb/v20220308/api.json +92 -82
- tccli/services/keewidb/v20220308/examples.json +5 -5
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +18 -18
- tccli/services/lighthouse/v20200324/examples.json +6 -6
- tccli/services/live/v20180801/api.json +32 -14
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +285 -263
- tccli/services/mariadb/v20170312/examples.json +12 -12
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/monitor_client.py +106 -0
- tccli/services/monitor/v20180724/api.json +222 -0
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +385 -23
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/msp/v20180319/api.json +2 -2
- tccli/services/ocr/v20181119/api.json +11 -1
- tccli/services/omics/v20221128/api.json +14 -2
- tccli/services/organization/v20210331/api.json +45 -18
- tccli/services/privatedns/v20201028/api.json +90 -81
- tccli/services/privatedns/v20201028/examples.json +18 -18
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +178 -16
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/region/v20220627/api.json +5 -3
- tccli/services/region/v20220627/examples.json +1 -1
- tccli/services/ssl/v20191205/api.json +6 -4
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tag/v20180813/api.json +4 -5
- tccli/services/tcb/v20180608/api.json +36 -16
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +64 -1
- tccli/services/tdmq/v20200217/examples.json +9 -1
- tccli/services/teo/teo_client.py +485 -8
- tccli/services/teo/v20220901/api.json +837 -39
- tccli/services/teo/v20220901/examples.json +108 -0
- tccli/services/thpc/v20211109/api.json +32 -34
- tccli/services/thpc/v20220401/api.json +31 -33
- tccli/services/thpc/v20230321/api.json +55 -57
- tccli/services/thpc/v20230321/examples.json +1 -1
- tccli/services/tiia/v20190529/api.json +307 -293
- tccli/services/tiia/v20190529/examples.json +41 -41
- tccli/services/tione/v20211111/api.json +4 -4
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +119 -3
- tccli/services/trocket/v20230308/examples.json +14 -0
- tccli/services/tse/v20201207/api.json +188 -120
- tccli/services/tse/v20201207/examples.json +30 -30
- tccli/services/tsf/v20180326/api.json +826 -745
- tccli/services/tsf/v20180326/examples.json +99 -111
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/vdb/v20230616/api.json +80 -80
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +64 -44
- tccli/services/vpc/v20170312/examples.json +6 -6
- tccli/services/vrs/v20200824/api.json +3 -2
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/RECORD +149 -145
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1236.1.dist-info → tccli-3.0.1238.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"GetDrugIndications": [
|
4
|
+
{
|
5
|
+
"document": "获取药品适应症",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: aca.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDrugIndications\n<公共请求参数>\n\n{\n \"Header\": {\n \"HospitalId\": \"001\",\n \"Token\": \"tai.4d563878587a67774d44417a4e544d344e413d3d.1959c3405c614d709babfad5e1b79d54\"\n },\n \"Data\": {\n \"Drugs\": [\n {\n \"DrugName\": \"诺氟沙星片\",\n \"Specifications\": \"0.1g*36片/盒\",\n \"ApprovalNumber\": \"国药准字H13022772\",\n \"Manufacturer\": \"石药集团欧意药业有限公司\"\n }\n ]\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Data\": {\n \"DocInfos\": [\n {\n \"DocUrl\": \"https://dev-aimedical.wecity.qq.com/toolbox/AssistantDetail.html?detailid=04e2bd6dff6422772447fd8c7cd7b5723dd4f7d4&type=drug&token=tai.4d563878587a67774d44417a4e544d344e413d3d.1959c3405c614d709babfad5e1b79d54\",\n \"DrugId\": \"\",\n \"DrugName\": \"诺氟沙星片\"\n }\n ],\n \"Indications\": [\n \"感染\",\n \"淋病\",\n \"伤寒\",\n \"其他沙门菌感染\",\n \"肠道感染\",\n \"前列腺炎\",\n \"尿路感染\",\n \"沙门菌感染\"\n ]\n },\n \"Message\": \"success\",\n \"RequestId\": \"c6419e0f-7ccb-4fdb-af09-b330d4885f38\"\n }\n}",
|
8
|
+
"title": "获取药品适应症示例"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"LoginHisTool": [
|
12
|
+
{
|
13
|
+
"document": "获取访问token",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Header\": {\n \"HospitalId\": \"test001\",\n \"PartnerId\": \"1\",\n \"Timestamp\": 1731555285331,\n \"Signature\": \"c5146247bc621087037e41952de50ccdcee0a69972cbd8a9cd3631ce79ed91ba\",\n \"PlatformId\": \"800035384\"\n },\n \"Data\": {\n \"DoctorId\": \"001\",\n \"DoctorName\": \"abc\"\n }\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Data\": {\n \"ExpiresIn\": 72000,\n \"Timestamp\": 0,\n \"Token\": \"tai.4d563878587a67774d44417a4e544d344e413d3d.3ab846e50ec343249fdacba4c79e5ff1\"\n },\n \"Message\": \"success\",\n \"RequestId\": \"643e3fe3-4ea0-4fcb-b539-f60f7d428bac\"\n }\n}",
|
16
|
+
"title": "辅诊登录"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"LoginOutHisTool": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Header\": {\n \"PartnerId\": \"2\",\n \"Timestamp\": 1577808000,\n \"Signature\": \"721e10a6cd421c8835c70d050831678b21fd48aa9a10e16c744bb10d1976a8ec\",\n \"PlatformId\": \"123\"\n },\n \"Data\": {\n \"Token\": \"tai.MTAwMDY%3D.12474ab0-912d-11eb-87e2-4914549178ec\"\n }\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Message\": \"success\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
24
|
+
"title": "登出"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"SmartDrugInfo": [
|
28
|
+
{
|
29
|
+
"document": "智能用药",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: aca.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SmartDrugInfo\n<公共请求参数>\n\n{\n \"Header\": {\n \"HospitalId\": \"001\",\n \"Token\": \"tai.4d563878587a67774d44417a4e544d344e413d3d.1959c3405c614d709babfad5e1b79d54\"\n },\n \"Data\": {\n \"DrugName\": \"诺氟沙星片\",\n \"Specifications\": \"0.1g*24片/盒\",\n \"ApprovalNumber\": \"国药准字H13022772\",\n \"Manufacturer\": \"石药集团欧意药业有限公司\",\n \"Diagnosis\": \"中耳炎\",\n \"Age\": 65\n }\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Data\": {\n \"AdverseReaction\": \"1.胃肠道反应 较为常见,可表现为腹部不适或疼痛、腹泻、恶心或呕吐。 2.中枢神经系统反应 可有头昏、头痛、嗜睡或失眠。 3.过敏反应 皮疹、皮肤瘙痒,偶可发生渗出性多性红斑及血管神经性水肿。少数患者有光敏反应。 4.偶可发生: (1)癫痫发作、精神异常、烦躁不安、意识障碍、幻觉、震颤。 (2)血尿、发热、皮疹等间质性肾炎表现。 (3)静脉炎。 (4)结晶尿,多见于高剂量应用时。 (5)关节疼痛。 5.少数患者可发生血清氨基转移酶升高、血尿素氮增高及周围血象白细胞降低,多属轻度,并呈一过性。\",\n \"ApprovalNumber\": \"国药准字H13022772\",\n \"Attentions\": \"1.本品宜空腹服用,并同时饮水250ml。 2.由于目前大肠埃希菌对诺氟沙星耐药者多见,应在给药前留取尿标本培养,参考细菌药敏结果调整用药。 3.本品大剂量应用或尿pH值在7以上时可发生结晶尿。为避免结晶尿的发生,宜多饮水,保持24小时排尿量在1200ml以上。 4.肾功能减退者,需根据肾功能调整给药剂量。 5.应用氟喹诺酮类药物可发生中、重度光敏反应。应用本品时应避免过度暴露于阳光,如发生光敏反应需停药。 6.葡萄糖-6-磷酸脱氢酶缺乏患者服用本品,极个别可能发生溶血反应。 7.喹诺酮类包括本品可致重症肌无力症状加重,呼吸肌无力而危及生命。重症肌无力患者应用喹诺酮类包括本品应特别谨慎。 8.肝功能减退时,如属重度(肝硬化腹水)可减少药物清除,血药浓度增高,肝、肾功能均减退者尤为明显,均需权衡利弊后应用,并调整剂量。 9.原有中枢神经系统疾病患者,例如癫痫及癫痫病史者均应避免应用,有指征时需仔细权衡利弊后应用。请仔细阅读说明书并遵医嘱使用。\",\n \"ChemicalName\": \"\",\n \"ClinicalResearch\": \"\",\n \"Contraindication\": \"对本品及氟喹诺酮类药过敏的患者禁用。\",\n \"DocRevisionTime\": \"\",\n \"DrugBasicCode\": \"86902770001457\",\n \"DrugDosageForm\": \"片剂\",\n \"DrugHashId\": \"3f8ce4e9cbc3ab786bb48f8f9ea252df1eec9e92\",\n \"DrugId\": \"\",\n \"DrugName\": \"诺氟沙星片\",\n \"DrugRoute\": \"口服给药\",\n \"ElderlyPatients\": \"老年患者常有肾功能减退,因本品部分经肾排出,需减量应用。\",\n \"EnglishChemicalName\": \"\",\n \"EnglishName\": \"Norfloxacin Tablets\",\n \"EnglishTradeName\": \"\",\n \"ExpireDate\": \"24 月\",\n \"ImgUrl\": \"https://p.qpic.cn/wyp_pic/Q3auHgzwzM6n8rbxOAOExJI4ch8eCtfG61UEvbvPSQLdHoMs8I9V28uHdDBujXsCOe1lwDjm9aIWHia198RMb3zQzviaCt5Und/0\",\n \"Indications\": \"适用于敏感细菌所引起的急、慢性肾盂肾炎、膀胱炎、前列腺炎、细菌性痢疾、胆囊炎、伤寒、产前产后感染、盆腔炎、中耳炎、鼻窦炎、急性扁桃腺炎及皮肤软组织感染等,也可作为腹腔手术的预防用药。\",\n \"Ingredients\": \"本品主要成份为:诺氟沙星。\",\n \"Interactions\": \"1.尿碱化剂可减低本品在尿中的溶解度,导致结晶尿和肾毒性。 2.本品与茶碱类合用时可能由于与细胞色素P450结合部位的竞争性抑制,导致茶碱类的肝清除明显减少,血消除半衰期(t1/2β)延长,血药浓度升高,出现茶碱中毒症状,如恶心、呕吐、震颤、不安、激动、抽搐、心悸等,故合用时应测定茶碱类血药浓度和调整剂量。 3.环孢素与本品合用,可使前者的血药浓度升高,必须监测环孢素血药浓度,并调整剂量。 4.本品与抗凝药华法林同用时可增强后者的抗凝作用,合用时应严密监测患者的凝血酶原时间。 5.丙磺舒可减少本品自肾小管分泌约50%,合用时可因本品血浓度增高而产生毒性。 6.本品与呋喃妥因具拮抗作用,不推荐联合应用。 7.多种维生素,或其他含铁、锌离子的制剂及含铝或镁的制酸药可减少本品的吸收,建议避免合用,不能避免时在本品服药前2小时,或服药后6小时服用。 8.去羟肌苷(didanosine,DDI)可减少本品的口服吸收,因其制剂中含铝及镁,可与氟喹诺酮类螯合,故不宜合用。 9.本品干扰咖啡因的代谢,从而导致咖啡因清除减少,血消除半衰期(t1/2β)延长,并可能产生中枢神经系统毒性。\",\n \"Manufacturer\": \"石药集团欧意药业有限公司\",\n \"OctTag\": \"\",\n \"OtherNames\": \"\",\n \"Overdose\": \"尚不明确。\",\n \"Pack\": \"0.1g*36片\",\n \"PediatricDrugs\": \"18岁以下的患者禁用。\",\n \"Pharmacokinetics\": \"健康成人空腹一次口服本品0.4克,1~2小时血药峰浓度(Cmax)为1.32mg/ml,8小时后尚有0.33μg/ml,吸收半衰期为0.41小时,分布相半衰期(t1/2α)为0.41小时,消除相半衰期(t1/2β)为2.54小时。12小时内尿中平均排出量占给药量的27.88%,其中22.56%在6小时内排出。 大鼠口服本品后,迅速分布各组织间,肾、肝、淋巴结、脾、颚下腺、血浆等的药物浓度均较高,上颚扁桃体及兔的皮肤也有分布。\",\n \"PharmacologyToxicology\": \"本品为氟喹诺酮类抗菌药,具广谱抗菌作用,尤其对需氧革兰阴性杆菌的抗菌活性高,对下列细菌在体外具良好的抗菌作用:肠杆菌科的大部分细菌,包括枸椽酸杆菌属、阴沟肠杆菌、产气肠杆菌等肠杆菌属、大肠埃希菌、克雷伯菌属、变形菌属、沙门菌属、志贺菌属、克雷伯氏菌属、变形杆菌属、产气肠杆菌、沙雷氏菌属、枸橼酸菌属等对本品高度敏感,最低抑菌浓度一般低于0.5μg/ml。流感杆菌对本品亦高度敏感。对铜绿假单胞菌及其它假单孢菌亦有作用,但需要较高的浓度,最低抑菌浓度在4~32μg/ml;由于在尿中浓度超过上述浓度数倍至十多倍,用于治疗铜绿假单胞菌泌尿系统感染仍然有效。在革兰阳性球菌中,对金黄色葡萄球菌及表皮葡萄球菌较敏感,抑制90%细菌的最低浓度约为1~2μg/ml,对肠球菌和肺炎球菌的抑制90%细菌的最低浓度约为4μg/ml和16μg/ml。\",\n \"PhenotypicTrait\": \"本品为糖衣片。除去糖衣后显淡黄色。对光、热、湿较稳定。\",\n \"Pinyin\": \"NuoFuShaXingPian\",\n \"PregnantAndLactatingWomen\": \"曾用猴进行繁殖研究,剂量高达人用量的10倍,发现本品可致流产。该剂量在猴的血浆峰浓度(Cmax)约为人的2倍。本品在动物中并未证实有致畸作用。然而,在孕妇并未进行合适的、有良好对照的研究,因此本品不宜用于孕妇。 本品是否经乳汁分泌尚缺乏资料。当乳妇应用200mg本品时,乳汁中不能检出该药。然而,由于研究剂量较小,且本类药物的其他品种经乳汁分泌,加之对新生儿及婴幼儿潜在的严重不良反应,乳妇应避免应用本品或于应用时停止哺乳。\",\n \"Property\": \"\",\n \"RecommendedUsage\": {\n \"Frequency\": \"\",\n \"SingleDose\": \"\",\n \"UsageRoute\": \"\"\n },\n \"References\": \"\",\n \"SequenceId\": 27668,\n \"Specifications\": \"0.1g*24片/盒\",\n \"Storage\": \"密封,干燥处保存。\",\n \"TradeName\": \"石药/石药集团\",\n \"UsageAndDosage\": \"1.大肠埃希菌、肺炎克雷伯菌及奇异变形菌所致的急性单纯性下尿路感染 一次400mg,一日2次,疗程3日。 2.其他病原菌所致的单纯性尿路感染 剂量同上,疗程7~10日。 3.复杂性尿路感染 剂量同上,疗程10~21日。 4.单纯性淋球菌性尿道炎 单次800~1200mg。 5.急性及慢性前列腺炎 一次400mg,一日2次,疗程28日。 6.肠道感染 一次300~400mg,一日2次,疗程5~7日。 7.伤寒沙门菌感染 一日800~1200mg,分2~3次服用,疗程14~21日。\",\n \"Warning\": \"\"\n },\n \"Message\": \"success\",\n \"RequestId\": \"f77dbf91-2d35-4047-bccb-dc4dde4c06b7\"\n }\n}",
|
32
|
+
"title": "智能用药示例"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"SmartPredict": [
|
36
|
+
{
|
37
|
+
"document": "合理用药+辅助决策",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n\n{\n \"Header\": {\n \"Token\": \"tai.MV8wXzgwMDAwMDUyOA%3D%3D.NQ%3D%3D.bb6f0c70-ff5a-11ed-8d21-2fc84f9d28c2\",\n \"HospitalId\": \"1\"\n },\n \"Data\": {\n \"RequestCase\": {\n \"CaseType\": 0,\n \"PatientBaseinfo\": {\n \"Name\": \"陈\",\n \"Sex\": \"female\",\n \"Age\": \"22y\",\n \"PatientId\": \"123\",\n \"BirthDay\": \"2000-01-01 00:00:00\",\n \"Height\": \"165\",\n \"Weight\": \"55\"\n },\n \"ChiefComplaint\": \"患者怀孕20周+3天。自诉头晕月余,左前胸(乳头上方区域)疼痛伴呼吸短促3天,凌晨加重,自服硝酸甘油片未缓解,今晨因剧烈咳嗽伴血性咳出物入院。\",\n \"PresentIllness\": \"胸痛5年;支气管扩张2年;一月前出现过一过性高血糖昏迷。\",\n \"PhysicalExam\": {\n \"Weight\": \"65\",\n \"Pulse\": \"70\",\n \"Breathe\": \"20\"\n },\n \"EmrDiagnosises\": [\n {\n \"IcdCode\": \"J06.900\",\n \"DiagnosisName\": \"急性上呼吸道感染\"\n },\n {\n \"IcdCode\": \"A49.003\",\n \"DiagnosisName\": \"耐甲氧西林金黄色葡萄球菌感染\"\n },\n {\n \"IcdCode\": \"I21.001\",\n \"DiagnosisName\": \"急性ST段抬高型前壁心肌梗塞\"\n }\n ],\n \"Department\": \"测试科室\",\n \"CaseId\": \"a123\",\n \"CaseTime\": \"2022-08-11 16:57:28\",\n \"DoctorInfo\": {\n \"DoctorId\": \"123\",\n \"DoctorName\": \"张三\"\n },\n \"VisitId\": \"1234\",\n \"Prescriptions\": [\n {\n \"DrugId\": \"01008\",\n \"DrugName\": \"阿莫西林分散片\",\n \"DosagePerTime\": \"100\",\n \"DosagePerTimeUnit\": \"片\",\n \"TimePerDay\": \"每周一次\",\n \"Usage\": \"静脉注射-注射\",\n \"PrescriptionId\": \"752d07c9-af98-48be-870c-e798f4d78f92\",\n \"BeginTime\": 1660278229,\n \"EndTime\": 1660278229\n }\n ]\n },\n \"RequestType\": 0\n }\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Message\": \"success\",\n \"RequestId\": \"6354b58e-ff37-40c4-84a4-aa71e80a1608\",\n \"Data\": {\n \"RationalDrugInfo\": {\n \"Hit\": true,\n \"Abnormals\": [\n {\n \"Type\": \"PrescriptionError\",\n \"Title\": \"处方信息缺失\",\n \"AbnormalReason\": \"患儿体重缺失\"\n }\n ],\n \"DrugRoutes\": [\n {\n \"DrugId\": \"10003637\",\n \"DrugName\": \"依折麦布片1\",\n \"RiskTips\": \"依折麦布片1给药途径为:静脉注射2,但说明书给药途径为:胃肠道给药-口腔给药-口服,存在给药途径风险\",\n \"RiskLevel\": \"中级风险\"\n }\n ],\n \"DrugIndications\": [\n {\n \"DrugId\": \"10003637\",\n \"DrugName\": \"依折麦布片1\",\n \"RiskTips\": \"依折麦布片1的适应症为:冠心病,脑血管病,高脂血症,纯高胆固醇血症,原发性高胆固醇血症,冠状动脉粥样硬化...,但患者诊断为:2型糖尿病2,咳嗽,存在适应症风险\",\n \"RiskLevel\": \"低级风险\"\n }\n ],\n \"DrugList\": [\n {\n \"DrugId\": \"10003637\",\n \"DrugName\": \"依折麦布片1\",\n \"DocUrl\": \"https://dev-aimedical.wecity.qq.com/toolbox/AssistantDetail.html?detailid=3ba19002112265c9849ca41b9508bcc256052a59&drugOrgId=test001@10003637&type=drug&token=tai.4d563878587a67774d44417a4e544d344e413d3d.41f05483dca54f5689f1b75769b3b8b2\",\n \"NotFound\": false\n }\n ]\n }\n }\n }\n}",
|
40
|
+
"title": "智能预测"
|
41
|
+
}
|
42
|
+
],
|
43
|
+
"SyncDepartment": [
|
44
|
+
{
|
45
|
+
"document": "新增科室数据",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: aca.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncDepartment\n<公共请求参数>\n\n{\n \"Header\": {\n \"HospitalId\": \"001\",\n \"Token\": \"tai.4d563878587a67774d44417a4e544d344e413d3d.1959c3405c614d709babfad5e1b79d54\"\n },\n \"Data\": {\n \"Cmd\": 2,\n \"List\": [\n {\n \"Id\": \"123\",\n \"Name\": \"综合门诊\",\n \"Scope\": 2,\n \"OutpatientOn\": true,\n \"InHospitalOn\": true\n }\n ]\n }\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Data\": {\n \"List\": []\n },\n \"Message\": \"success\",\n \"RequestId\": \"a2c89afa-1b0d-40dc-87f3-acd0583c21bf\"\n }\n}",
|
48
|
+
"title": "同步科室"
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"SyncStandardDict": [
|
52
|
+
{
|
53
|
+
"document": "同步给药频次",
|
54
|
+
"input": "POST / HTTP/1.1\nHost: aca.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SyncStandardDict\n<公共请求参数>\n\n{\n \"Header\": {\n \"HospitalId\": \"001\",\n \"Token\": \"tai.4d563878587a67774d44417a4e544d344e413d3d.1959c3405c614d709babfad5e1b79d54\"\n },\n \"Data\": {\n \"HospitalId\": \"001\",\n \"DictType\": 1,\n \"Dicts\": [\n {\n \"FreqCode\": \"qid\",\n \"FreqName\": \"一日三次\",\n \"Disable\": 0\n }\n ]\n }\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Message\": \"success\",\n \"RequestId\": \"77f9c09c-8db0-40e9-8293-d4620e82cc9b\"\n }\n}",
|
56
|
+
"title": "同步给药频次"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"UploadDrugs": [
|
60
|
+
{
|
61
|
+
"document": "",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: xxx.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Header\": {\n \"HospitalId\": \"1\",\n \"Token\": \"abc\"\n },\n \"Data\": {\n \"Drugs\": [\n {\n \"DrugOrgId\": \"医院药品id\",\n \"DrugName\": \"医院药品通用名\",\n \"DrugCommodityName\": \"医院药品商品名\",\n \"Specifications\": \"医院药品规格\",\n \"ApprovalNumber\": \"医院药品批准文号\",\n \"Manufacturer\": \"医院厂商\",\n \"DosageForm\": \"剂型\",\n \"DosageFormCode\": \"剂型编码\",\n \"DefinedDailyDose\": \"抗菌药DDD值\",\n \"Amount\": \"药品单价\",\n \"YbCode\": \"国家医保编码\",\n \"DrugBasicCode\": \"药品本位码\",\n \"Unuse\": 0,\n \"PropertyInfo\": {\n \"DrugType\": 1,\n \"AntibacterialType\": 0,\n \"AntibacterialClass\": 0,\n \"SpeciallyDrugType\": 0,\n \"IsBasicDrug\": 1,\n \"ChargeType\": 2\n }\n }\n ]\n }\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"Code\": 0,\n \"Message\": \"成功\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Data\": {\n \"Dummy\": false\n }\n }\n}",
|
64
|
+
"title": "药品同步"
|
65
|
+
}
|
66
|
+
]
|
67
|
+
},
|
68
|
+
"version": "1.0"
|
69
|
+
}
|
@@ -982,12 +982,21 @@
|
|
982
982
|
{
|
983
983
|
"disabled": false,
|
984
984
|
"document": "对新背景的文本描述。\n最多支持256个 utf-8 字符,支持中、英文。",
|
985
|
-
"example": "
|
985
|
+
"example": "放在充满鲜花的环境里,简洁风格,清新自然,广告摄影",
|
986
986
|
"member": "string",
|
987
987
|
"name": "Prompt",
|
988
988
|
"required": true,
|
989
989
|
"type": "string"
|
990
990
|
},
|
991
|
+
{
|
992
|
+
"disabled": false,
|
993
|
+
"document": "反向提示词。\n最多支持256个 utf-8 字符,支持中、英文。",
|
994
|
+
"example": "黑白",
|
995
|
+
"member": "string",
|
996
|
+
"name": "NegativePrompt",
|
997
|
+
"required": false,
|
998
|
+
"type": "string"
|
999
|
+
},
|
991
1000
|
{
|
992
1001
|
"disabled": false,
|
993
1002
|
"document": "商品图中的商品主体名称。\n建议说明商品主体,否则影响生成效果。",
|
@@ -1380,7 +1389,7 @@
|
|
1380
1389
|
{
|
1381
1390
|
"disabled": false,
|
1382
1391
|
"document": "反向文本描述。\n用于一定程度上从反面引导模型生成的走向,减少生成结果中出现描述内容的可能,但不能完全杜绝。\n推荐使用中文。最多可传256个 utf-8 字符。",
|
1383
|
-
"example": "
|
1392
|
+
"example": "黑色,雨",
|
1384
1393
|
"member": "string",
|
1385
1394
|
"name": "NegativePrompt",
|
1386
1395
|
"required": false,
|
@@ -1389,7 +1398,7 @@
|
|
1389
1398
|
{
|
1390
1399
|
"disabled": false,
|
1391
1400
|
"document": "绘画风格。\n请在 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249) 中选择期望的风格,传入风格编号。\n推荐使用且只使用一种风格。不传默认使用201(日系动漫风格)。",
|
1392
|
-
"example": "
|
1401
|
+
"example": "[\"101\"]",
|
1393
1402
|
"member": "string",
|
1394
1403
|
"name": "Styles",
|
1395
1404
|
"required": false,
|
@@ -1397,8 +1406,8 @@
|
|
1397
1406
|
},
|
1398
1407
|
{
|
1399
1408
|
"disabled": false,
|
1400
|
-
"document": "生成图结果的配置,包括输出图片分辨率和尺寸等。\n
|
1401
|
-
"example": "
|
1409
|
+
"document": "生成图结果的配置,包括输出图片分辨率和尺寸等。\n支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3)、1080:1920(9:16)、1920:1080(16:9),不传默认使用768:768。\n",
|
1410
|
+
"example": "768:768",
|
1402
1411
|
"member": "ResultConfig",
|
1403
1412
|
"name": "ResultConfig",
|
1404
1413
|
"required": false,
|
@@ -1407,7 +1416,7 @@
|
|
1407
1416
|
{
|
1408
1417
|
"disabled": false,
|
1409
1418
|
"document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
|
1410
|
-
"example": "
|
1419
|
+
"example": "1",
|
1411
1420
|
"member": "int64",
|
1412
1421
|
"name": "LogoAdd",
|
1413
1422
|
"required": false,
|
@@ -1416,7 +1425,7 @@
|
|
1416
1425
|
{
|
1417
1426
|
"disabled": false,
|
1418
1427
|
"document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
|
1419
|
-
"example": "
|
1428
|
+
"example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
1420
1429
|
"member": "LogoParam",
|
1421
1430
|
"name": "LogoParam",
|
1422
1431
|
"required": false,
|
@@ -1425,7 +1434,7 @@
|
|
1425
1434
|
{
|
1426
1435
|
"disabled": false,
|
1427
1436
|
"document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。",
|
1428
|
-
"example": "
|
1437
|
+
"example": "url",
|
1429
1438
|
"member": "string",
|
1430
1439
|
"name": "RspImgType",
|
1431
1440
|
"required": false,
|
@@ -1440,7 +1449,7 @@
|
|
1440
1449
|
{
|
1441
1450
|
"disabled": false,
|
1442
1451
|
"document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
|
1443
|
-
"example": "
|
1452
|
+
"example": "https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7",
|
1444
1453
|
"member": "string",
|
1445
1454
|
"name": "ResultImage",
|
1446
1455
|
"output_required": true,
|
@@ -107,8 +107,8 @@
|
|
107
107
|
"TextToImage": [
|
108
108
|
{
|
109
109
|
"document": "正常调用场景",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextToImage\n<公共请求参数>\n\n{\n \"Prompt\": \"女孩\",\n \"Styles\": [\n \"101\"\n ]\n}",
|
111
|
-
"output": "{\n \"Response\": {\n \"ResultImage\": \"/
|
110
|
+
"input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextToImage\n<公共请求参数>\n\n{\n \"Prompt\": \"女孩\",\n \"Styles\": [\n \"101\"\n ],\n \"RspImgType\": \"url\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"ResultImage\": \"https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7\",\n \"RequestId\": \"b429894a-d0e5-4d5c-8dcf-6be8d05ef484\"\n }\n}",
|
112
112
|
"title": "调用示例"
|
113
113
|
}
|
114
114
|
],
|
@@ -1199,16 +1199,7 @@
|
|
1199
1199
|
"members": [
|
1200
1200
|
{
|
1201
1201
|
"disabled": false,
|
1202
|
-
"document": "
|
1203
|
-
"example": "{ \"Key\": \"service.name\", \"Value\": \"java-order-service\" } { \"Key",
|
1204
|
-
"member": "GeneralFilter",
|
1205
|
-
"name": "Filters",
|
1206
|
-
"required": true,
|
1207
|
-
"type": "list"
|
1208
|
-
},
|
1209
|
-
{
|
1210
|
-
"disabled": false,
|
1211
|
-
"document": "需要查询的指标,不可自定义输入。\nservice_metric视图支持:service_request_count(总请求)、service_duration(平均响应时间)、service_error_req_rate(平均错误率)、service_slow_call_count(慢调用)、service_error_request_count(异常数量)。\nruntime_metric视图支持:service_gc_full_count(Full GC)。\nsql_metric视图支持:service_slow_sql_count(慢sql)、sql_duration_avg(耗时)。",
|
1202
|
+
"document": "需要查询的指标名称,不可自定义输入,[详情请见。](https://cloud.tencent.com/document/product/248/101681)",
|
1212
1203
|
"example": "\"service_request_count\"、“service_duration”",
|
1213
1204
|
"member": "string",
|
1214
1205
|
"name": "Metrics",
|
@@ -1226,7 +1217,7 @@
|
|
1226
1217
|
},
|
1227
1218
|
{
|
1228
1219
|
"disabled": false,
|
1229
|
-
"document": "
|
1220
|
+
"document": "视图名称,不可自定义输入。[详情请见。](https://cloud.tencent.com/document/product/248/101681)",
|
1230
1221
|
"example": "service_metric",
|
1231
1222
|
"member": "string",
|
1232
1223
|
"name": "ViewName",
|
@@ -1235,7 +1226,16 @@
|
|
1235
1226
|
},
|
1236
1227
|
{
|
1237
1228
|
"disabled": false,
|
1238
|
-
"document": "
|
1229
|
+
"document": "要过滤的维度信息,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)",
|
1230
|
+
"example": "{ \"Key\": \"service.name\", \"Value\": \"java-order-service\" } { \"Key",
|
1231
|
+
"member": "GeneralFilter",
|
1232
|
+
"name": "Filters",
|
1233
|
+
"required": true,
|
1234
|
+
"type": "list"
|
1235
|
+
},
|
1236
|
+
{
|
1237
|
+
"disabled": false,
|
1238
|
+
"document": "聚合维度,不同视图有对应的指标维度,[详情请见。](https://cloud.tencent.com/document/product/248/101681)",
|
1239
1239
|
"example": "\"service.name\"、\"span.kind\"",
|
1240
1240
|
"member": "string",
|
1241
1241
|
"name": "GroupBy",
|
@@ -1271,7 +1271,7 @@
|
|
1271
1271
|
},
|
1272
1272
|
{
|
1273
1273
|
"disabled": false,
|
1274
|
-
"document": "对查询指标进行排序:\
|
1274
|
+
"document": "对查询指标进行排序:\nKey 填写云 API 指标名称,[详情请见。](https://cloud.tencent.com/document/product/248/101681)\nValue 填写排序方式: \n- asc:对查询指标进行升序排序\n- desc:对查询指标进行降序排序",
|
1275
1275
|
"example": "\"OrderBy\": { \t\"Key\": \"sql_duration_avg\", \"Value\": \"desc\"",
|
1276
1276
|
"member": "OrderBy",
|
1277
1277
|
"name": "OrderBy",
|
@@ -1296,10 +1296,10 @@
|
|
1296
1296
|
{
|
1297
1297
|
"disabled": false,
|
1298
1298
|
"document": "指标结果集\n注意:此字段可能返回 null,表示取不到有效值。",
|
1299
|
-
"example": "
|
1299
|
+
"example": "{ \"Response\": { \"Records\": [ { \"Tags\": [], \"MetricName\": \"sql_duration_avg\", \"MetricNameCN\": \"平均响应时间\", \"TimeSerial\": [ 1734407820, 1734407880, 1734407940, 1734408000, 1734408060, 1734408120, 1734408180, 1734408240, 1734408300, 1734408360, 1734408420, 1734408480, 1734408540, 1734408600, 1734408660, 1734408720, 1734408780, 1734408840, 1734408900, 1734408960, 1734409020, 1734409080, 1734409140, 1734409200, 1734409260, 1734409320, 1734409380, 1734409440, 1734409500, 1734409560, 1734409620, 1734409680, 1734409740, 1734409800, 1734409860, 1734409920, 1734409980, 1734410040, 1734410100, 1734410160, 1734410220, 1734410280, 1734410340, 1734410400, 1734410460, 1734410520, 1734410580, 1734410640, 1734410700, 1734410760, 1734410820, 1734410880, 1734410940, 1734411000, 1734411060, 1734411120, 1734411180, 1734411240, 1734411300, 1734411360 ], \"DataSerial\": [ 135728.648236258, 0.4060175286658243, 0.3906675029805307, 118792.06594650316, 0.4067952115687377, 0.41769455288609775, 0.41074237375891975, 0.40921561817335866, 0.41119494805273527, 135649.09198159442, 0.4107937310707512, 0.41151921192748936, 0.4117117637368341, 0.4152493163439583, 0.5001134962935645, 0.41283469768714603, 0.3979470199363206, 0.4083188880940849, 0.40551133267100636, 0.40927287475939206, 0.41014323602968256, 0.4012277709628799, 0.40407118324057745, 0.40985120011494, 0.4071479930279269, 0.3866005448018421, 0.40619437076582554, 0.40142698225557255, 0.40432155746295745, 0.4120485754463827, 0.40451016228819175, 135425.90797938255, 135542.49266812875, 0.40168924095565, 0.4070559973437187, 0.3987184602563491, 0.4076715755099571, 0.4026033027713935, 118990.898319586, 0.405708522267682, 0.404107562330523, 0.40059895515109356, 0.4049696567832813, 0.40152292066215045, 0.3943229870897469, 0.39939697181964084, 0.42871168611138843, 0.39514465476451965, 0.39055195114837243, 0.39710768149694586, 0.40585406731762813, 0.41346395100750705, 0.4089005831960684, 0.4018122312399444, 0.3928633017418557, 0.41502474452429317, 0.4065864888888889, 0.4112395803749857, 0.4158375517725035, null ] } ], \"RequestId\": \"test-test-test\" } }",
|
1300
1300
|
"member": "Line",
|
1301
1301
|
"name": "Records",
|
1302
|
-
"
|
1302
|
+
"output_required": true,
|
1303
1303
|
"type": "list",
|
1304
1304
|
"value_allowed_null": true
|
1305
1305
|
},
|
@@ -1791,36 +1791,39 @@
|
|
1791
1791
|
"members": [
|
1792
1792
|
{
|
1793
1793
|
"disabled": false,
|
1794
|
-
"document": "过滤方式(=, !=, in
|
1794
|
+
"document": "过滤方式(=, !=, in)\n注意:此字段可能返回 null,表示取不到有效值。",
|
1795
1795
|
"example": "=",
|
1796
1796
|
"member": "string",
|
1797
1797
|
"name": "Type",
|
1798
|
+
"output_required": false,
|
1798
1799
|
"required": true,
|
1799
1800
|
"type": "string",
|
1800
|
-
"value_allowed_null":
|
1801
|
+
"value_allowed_null": true
|
1801
1802
|
},
|
1802
1803
|
{
|
1803
1804
|
"disabled": false,
|
1804
|
-
"document": "
|
1805
|
+
"document": "过滤维度名\n注意:此字段可能返回 null,表示取不到有效值。",
|
1805
1806
|
"example": "serviceName",
|
1806
1807
|
"member": "string",
|
1807
1808
|
"name": "Key",
|
1809
|
+
"output_required": false,
|
1808
1810
|
"required": true,
|
1809
1811
|
"type": "string",
|
1810
|
-
"value_allowed_null":
|
1812
|
+
"value_allowed_null": true
|
1811
1813
|
},
|
1812
1814
|
{
|
1813
1815
|
"disabled": false,
|
1814
|
-
"document": "过滤值,in
|
1816
|
+
"document": "过滤值,in过滤方式用逗号分割多个值\n注意:此字段可能返回 null,表示取不到有效值。",
|
1815
1817
|
"example": "sso-api",
|
1816
1818
|
"member": "string",
|
1817
1819
|
"name": "Value",
|
1820
|
+
"output_required": false,
|
1818
1821
|
"required": true,
|
1819
1822
|
"type": "string",
|
1820
|
-
"value_allowed_null":
|
1823
|
+
"value_allowed_null": true
|
1821
1824
|
}
|
1822
1825
|
],
|
1823
|
-
"usage": "
|
1826
|
+
"usage": "both"
|
1824
1827
|
},
|
1825
1828
|
"GeneralFilter": {
|
1826
1829
|
"document": "查询过滤参数",
|
@@ -34,34 +34,28 @@
|
|
34
34
|
],
|
35
35
|
"DescribeGeneralMetricData": [
|
36
36
|
{
|
37
|
-
"document": "该示例查询实例为apm-
|
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\": \"
|
39
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-order-service\"\n }\n ],\n \"MetricName\": \"service_gc_full_count\",\n \"MetricNameCN\": \"full GC\",\n \"TimeSerial\": [\n 1656428160,\n 1656428220,\n 1656428280,\n 1656428340,\n 1656428400,\n 1656428460,\n 1656428520,\n 1656428580,\n 1656428640,\n 1656428700,\n 1656428760,\n 1656428820,\n 1656428880\n ],\n \"DataSerial\": [\n 0.016666666666666666,\n 0,\n 0.016666666666666666,\n 0,\n 0.016666666666666666,\n 0.016666666666666666,\n 0,\n 0.016666666666666666,\n 0,\n 0.016666666666666666,\n 0.016666666666666666,\n 0,\n 0.016666666666666666\n ]\n }\n ],\n \"RequestId\": \"test-test-test\"\n }\n}",
|
40
|
-
"title": "查询1分钟聚合粒度的
|
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
|
+
"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
|
+
"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
|
+
"title": "查询1分钟聚合粒度的 service_metric 指标数据示例"
|
41
41
|
},
|
42
42
|
{
|
43
|
-
"document": "该示例查询实例为apm-
|
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\": \"
|
45
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-order-service\"\n },\n {\n \"Key\": \"span.kind\",\n \"Value\": \"client\"\n }\n ],\n \"MetricName\": \"
|
46
|
-
"title": "
|
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
|
+
"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
|
+
"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
|
+
"title": "查询起始到终止时间内统计 service_metric 指标数据示例"
|
47
47
|
},
|
48
48
|
{
|
49
|
-
"document": "该示例查询实例为apm-
|
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\": \"
|
51
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"
|
52
|
-
"title": "
|
49
|
+
"document": "该示例查询实例为 apm-059oXBfTL,按照 service.name(服务名)为维度过滤,以 service.name(服务名)进行聚合,查找开始时间-终止时间内以一分钟为聚合粒度的 error_request_count(错误请求数量)、duration_avg(平均响应时间)的指标数据。",
|
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
|
+
"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
|
+
"title": "查询1分钟聚合粒度的 sql_metric 指标数据示例"
|
53
53
|
},
|
54
54
|
{
|
55
|
-
"document": "该示例查询实例为apm-
|
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\": \"
|
57
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-order-service\"\n }\n ],\n \"MetricName\": \"
|
58
|
-
"title": "
|
59
|
-
},
|
60
|
-
{
|
61
|
-
"document": "该示例查询实例为apm-ylTJfTSbn,按照db.instance(数据库名称)、(db.ip)数据库实例ip为维度过滤,以service.name(服务名)、db.statement(sql语句)为维度进行聚合,查找开始时间-终止时间内top5的sql_duration_avg(耗时(ms))的指标数据。",
|
62
|
-
"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 \"Key\": \"db.ip\",\n \"Value\": \"9.147.18.42\"\n }\n ],\n \"ViewName\": \"sql_metric\",\n \"InstanceId\": \"apm-ylTJfTSbn\",\n \"Metrics\": [\n \"sql_duration_avg\"\n ],\n \"StartTime\": \"1652666416\",\n \"EndTime\": \"1652667616\",\n \"GroupBy\": [\n \"service.name\",\n \"db.statement\"\n ],\n \"OrderBy\": {\n \"Key\": \"sql_duration_avg\",\n \"Value\": \"desc\"\n },\n \"PageSize\": 5\n}",
|
63
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * om un_exist_table limit 1\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-order-service\"\n }\n ],\n \"MetricName\": \"sql_duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": null,\n \"DataSerial\": [\n 29.883333333333333\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * om un_exist_table limit 1\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-user-service\"\n }\n ],\n \"MetricName\": \"sql_duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": null,\n \"DataSerial\": [\n 26.170082239670673\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * from un_exist_table limit 1\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-market-service\"\n }\n ],\n \"MetricName\": \"sql_duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": null,\n \"DataSerial\": [\n 25.654237574773983\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * from mock_project_userinfo where id = ? limit 1\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-order-service\"\n }\n ],\n \"MetricName\": \"sql_duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": null,\n \"DataSerial\": [\n 24.333649579223025\n ]\n },\n {\n \"Tags\": [\n {\n \"Key\": \"db.statement\",\n \"Value\": \"select * from un_exist_table limit 1\"\n },\n {\n \"Key\": \"service.name\",\n \"Value\": \"java-user-service\"\n }\n ],\n \"MetricName\": \"sql_duration_avg\",\n \"MetricNameCN\": \"平均响应时间\",\n \"TimeSerial\": null,\n \"DataSerial\": [\n 22.785741520925463\n ]\n }\n ],\n \"RequestId\": \"test-test-test\"\n }\n}",
|
64
|
-
"title": "查询起始到终止时间内统计sql_metric的sql_duration_avg(耗时时间)指标数据示例"
|
55
|
+
"document": "该示例查询实例为apm-059oXBfTL,按照 db.instance(数据库名称)为维度过滤,以 service.name(服务名)、db.statement(执行语句)为维度进行聚合,查找开始时间-终止时间内 top5 的 duration_avg(耗时(ms))的指标数据。",
|
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
|
+
"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
|
+
"title": "查询起始到终止时间内统计 sql_metric 的 duration_avg(耗时时间)指标数据示例"
|
65
59
|
}
|
66
60
|
],
|
67
61
|
"DescribeGeneralSpanList": [
|
@@ -35,7 +35,7 @@
|
|
35
35
|
{
|
36
36
|
"disabled": false,
|
37
37
|
"document": "代理角色临时密钥的Token",
|
38
|
-
"example": "",
|
38
|
+
"example": "yN8d0VyOqBvljYQw0MC",
|
39
39
|
"member": "string",
|
40
40
|
"name": "SessionKey",
|
41
41
|
"required": true,
|
@@ -50,9 +50,10 @@
|
|
50
50
|
{
|
51
51
|
"disabled": false,
|
52
52
|
"document": "渠道备案小程序二维码",
|
53
|
-
"example": "",
|
53
|
+
"example": "https://beianapi.cloud.tencent.com/?exchangeSkey=yN8d0VyOqBvljYQw0MC",
|
54
54
|
"member": "string",
|
55
55
|
"name": "Url",
|
56
|
+
"output_required": true,
|
56
57
|
"type": "string",
|
57
58
|
"value_allowed_null": false
|
58
59
|
},
|