tccli 3.0.1086.1__py2.py3-none-any.whl → 3.0.1088.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 (531) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/acp/v20220105/CreateAppScanTask.md +30 -30
  3. tccli/examples/acp/v20220105/CreateAppScanTaskRepeat.md +26 -26
  4. tccli/examples/acp/v20220105/DescribeResourceUsageInfo.md +7 -7
  5. tccli/examples/acp/v20220105/DescribeScanTaskList.md +29 -29
  6. tccli/examples/acp/v20220105/DescribeScanTaskReportUrl.md +20 -20
  7. tccli/examples/af/v20200226/DescribeAntiFraud.md +26 -26
  8. tccli/examples/ams/v20201229/CreateAudioModerationTask.md +19 -19
  9. tccli/examples/antiddos/v20200309/DescribeBasicDeviceStatus.md +18 -18
  10. tccli/examples/apigateway/v20180808/DescribeLogSearch.md +28 -28
  11. tccli/examples/apm/v20210622/DescribeGeneralMetricData.md +122 -122
  12. tccli/examples/apm/v20210622/DescribeMetricRecords.md +53 -53
  13. tccli/examples/asr/v20190614/DescribeTaskStatus.md +32 -32
  14. tccli/examples/autoscaling/v20180419/CreateLifecycleHook.md +38 -38
  15. tccli/examples/autoscaling/v20180419/CreateScalingPolicy.md +29 -29
  16. tccli/examples/autoscaling/v20180419/DescribeLaunchConfigurations.md +47 -47
  17. tccli/examples/autoscaling/v20180419/ModifyLaunchConfigurationAttributes.md +12 -12
  18. tccli/examples/autoscaling/v20180419/ModifyLoadBalancers.md +18 -18
  19. tccli/examples/autoscaling/v20180419/ModifyScalingPolicy.md +24 -24
  20. tccli/examples/bi/v20220105/CreateUserRoleProject.md +23 -23
  21. tccli/examples/bi/v20220105/DeleteDatasource.md +10 -10
  22. tccli/examples/bi/v20220105/DescribeDatasourceList.md +12 -12
  23. tccli/examples/bi/v20220105/ModifyDatasourceCloud.md +38 -38
  24. tccli/examples/billing/v20180709/DescribeBillSummary.md +147 -147
  25. tccli/examples/billing/v20180709/DescribeBillSummaryForOrganization.md +147 -147
  26. tccli/examples/bmvpc/v20180625/BindEipsToNatGateway.md +8 -8
  27. tccli/examples/bmvpc/v20180625/CreateNatGateway.md +18 -18
  28. tccli/examples/btoe/v20210514/CreateHashDepositNoCert.md +16 -16
  29. tccli/examples/cat/v20180409/CreateProbeTasks.md +17 -17
  30. tccli/examples/cat/v20180409/DescribeProbeTasks.md +46 -46
  31. tccli/examples/cbs/v20170312/CreateDisks.md +19 -19
  32. tccli/examples/cbs/v20170312/InquiryPriceCreateDisks.md +32 -32
  33. tccli/examples/cbs/v20170312/ModifyAutoSnapshotPolicyAttribute.md +11 -11
  34. tccli/examples/cdb/v20170320/AnalyzeAuditLogs.md +43 -43
  35. tccli/examples/cdb/v20170320/DescribeAuditLogs.md +19 -19
  36. tccli/examples/cdn/v20180606/ModifyDomainConfig.md +20 -20
  37. tccli/examples/cdn/v20180606/VerifyDomainRecord.md +11 -11
  38. tccli/examples/cdwch/v20200915/ScaleOutInstance.md +10 -11
  39. tccli/examples/cdwdoris/v20211228/DescribeInstanceNodesInfo.md +4 -4
  40. tccli/examples/cfg/v20210820/ModifyTaskRunStatus.md +10 -10
  41. tccli/examples/cfw/v20190904/CreateNatFwInstanceWithDomain.md +10 -10
  42. tccli/examples/cfw/v20190904/ModifyNatFwSwitch.md +6 -6
  43. tccli/examples/cfw/v20190904/SetNatFwEip.md +7 -7
  44. tccli/examples/ckafka/v20190819/CreateConnectResource.md +21 -21
  45. tccli/examples/ckafka/v20190819/CreateDatahubTask.md +36 -36
  46. tccli/examples/clb/v20180317/CreateListener.md +34 -34
  47. tccli/examples/clb/v20180317/DeleteLoadBalancerListeners.md +7 -7
  48. tccli/examples/clb/v20180317/DescribeListeners.md +7 -7
  49. tccli/examples/clb/v20180317/DescribeLoadBalancerListByCertId.md +27 -27
  50. tccli/examples/clb/v20180317/DescribeLoadBalancers.md +23 -23
  51. tccli/examples/clb/v20180317/DescribeTargets.md +55 -55
  52. tccli/examples/clb/v20180317/InquiryPriceCreateLoadBalancer.md +35 -35
  53. tccli/examples/clb/v20180317/ModifyBlockIPList.md +13 -13
  54. tccli/examples/clb/v20180317/ModifyListener.md +20 -20
  55. tccli/examples/clb/v20180317/RegisterTargets.md +9 -9
  56. tccli/examples/clb/v20180317/SetLoadBalancerClsLog.md +8 -8
  57. tccli/examples/clb/v20180317/SetLoadBalancerSecurityGroups.md +9 -9
  58. tccli/examples/cls/v20201016/CreateConfig.md +57 -57
  59. tccli/examples/cls/v20201016/DescribeDashboards.md +40 -40
  60. tccli/examples/cme/v20191029/CreateLink.md +24 -24
  61. tccli/examples/cme/v20191029/CreateProject.md +50 -50
  62. tccli/examples/cme/v20191029/DescribeMaterials.md +73 -73
  63. tccli/examples/cme/v20191029/DescribeTeamMembers.md +19 -19
  64. tccli/examples/cme/v20191029/DescribeTeams.md +18 -18
  65. tccli/examples/cme/v20191029/ExportVideoByEditorTrackData.md +29 -29
  66. tccli/examples/cme/v20191029/ExportVideoByVideoSegmentationData.md +11 -11
  67. tccli/examples/cme/v20191029/ExportVideoEditProject.md +42 -42
  68. tccli/examples/cme/v20191029/HandleMediaCastProject.md +125 -125
  69. tccli/examples/cme/v20191029/HandleStreamConnectProject.md +107 -107
  70. tccli/examples/cme/v20191029/ImportMaterial.md +48 -48
  71. tccli/examples/cme/v20191029/ImportMediaToProject.md +14 -14
  72. tccli/examples/cme/v20191029/ModifyMaterial.md +7 -7
  73. tccli/examples/cme/v20191029/MoveResource.md +20 -20
  74. tccli/examples/cme/v20191029/ParseEvent.md +66 -66
  75. tccli/examples/cme/v20191029/SearchMaterial.md +11 -11
  76. tccli/examples/cvm/v20170312/InquiryPriceRunInstances.md +42 -42
  77. tccli/examples/cvm/v20170312/ModifyInstancesChargeType.md +7 -7
  78. tccli/examples/cvm/v20170312/RunInstances.md +28 -28
  79. tccli/examples/cwp/v20180228/ModifyBaselinePolicy.md +15 -15
  80. tccli/examples/cwp/v20180228/ModifyBaselinePolicyState.md +6 -6
  81. tccli/examples/cwp/v20180228/ModifyBashPolicyStatus.md +6 -6
  82. tccli/examples/cynosdb/v20190107/DescribeAuditLogs.md +19 -19
  83. tccli/examples/cynosdb/v20190107/DescribeProxySpecs.md +16 -16
  84. tccli/examples/dc/v20180410/CreateDirectConnectTunnel.md +38 -38
  85. tccli/examples/dc/v20180410/DescribeDirectConnects.md +47 -47
  86. tccli/examples/dlc/v20210125/DescribeUserRoles.md +33 -33
  87. tccli/examples/dnspod/v20210323/DescribeSnapshotRollbackResult.md +20 -20
  88. tccli/examples/domain/v20180808/DescribeTldList.md +170 -0
  89. tccli/examples/dsgc/v20190723/DescribeDSPASupportedMetas.md +33 -33
  90. tccli/examples/dts/v20180330/CreateMigrateJob.md +29 -29
  91. tccli/examples/dts/v20180330/DescribeMigrateCheckJob.md +14 -14
  92. tccli/examples/ecc/v20181213/CorrectMultiImage.md +29 -29
  93. tccli/examples/ecc/v20181213/EHOCR.md +10 -10
  94. tccli/examples/ecm/v20190719/CreateDisks.md +19 -19
  95. tccli/examples/ecm/v20190719/DeleteSecurityGroupPolicies.md +20 -20
  96. tccli/examples/ecm/v20190719/DescribeInstances.md +160 -160
  97. tccli/examples/emr/v20190103/InquiryPriceRenewInstance.md +27 -27
  98. tccli/examples/emr/v20190103/ModifyAutoScaleStrategy.md +26 -26
  99. tccli/examples/ess/v20201111/CancelUserAutoSignEnableUrl.md +10 -10
  100. tccli/examples/ess/v20201111/CreateBatchQuickSignUrl.md +81 -81
  101. tccli/examples/ess/v20201111/CreateDocument.md +34 -34
  102. tccli/examples/ess/v20201111/CreateExtendedServiceAuthInfos.md +13 -13
  103. tccli/examples/ess/v20201111/CreateFlowApprovers.md +84 -84
  104. tccli/examples/ess/v20201111/CreateFlowByFiles.md +765 -765
  105. tccli/examples/ess/v20201111/CreateFlowEvidenceReport.md +13 -13
  106. tccli/examples/ess/v20201111/CreateFlowGroupByFiles.md +91 -91
  107. tccli/examples/ess/v20201111/CreateFlowGroupByTemplates.md +97 -97
  108. tccli/examples/ess/v20201111/CreateFlowSignUrl.md +73 -73
  109. tccli/examples/ess/v20201111/CreateIntegrationDepartment.md +17 -17
  110. tccli/examples/ess/v20201111/CreateIntegrationEmployees.md +41 -41
  111. tccli/examples/ess/v20201111/CreateIntegrationRole.md +25 -25
  112. tccli/examples/ess/v20201111/CreateMultiFlowSignQRCode.md +69 -69
  113. tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +21 -21
  114. tccli/examples/ess/v20201111/CreateOrganizationInfoChangeUrl.md +17 -17
  115. tccli/examples/ess/v20201111/CreatePrepareFlow.md +67 -67
  116. tccli/examples/ess/v20201111/CreateReleaseFlow.md +65 -65
  117. tccli/examples/ess/v20201111/CreateSchemeUrl.md +68 -68
  118. tccli/examples/ess/v20201111/CreateSeal.md +44 -44
  119. tccli/examples/ess/v20201111/DeleteExtendedServiceAuthInfos.md +8 -8
  120. tccli/examples/ess/v20201111/DescribeExtendedServiceAuthDetail.md +20 -20
  121. tccli/examples/ess/v20201111/DescribeExtendedServiceAuthInfos.md +27 -27
  122. tccli/examples/ess/v20201111/DescribeFileUrls.md +47 -47
  123. tccli/examples/ess/v20201111/DescribeFlowEvidenceReport.md +14 -14
  124. tccli/examples/ess/v20201111/DescribeIntegrationDepartments.md +29 -29
  125. tccli/examples/ess/v20201111/DescribeIntegrationEmployees.md +77 -77
  126. tccli/examples/ess/v20201111/ModifyApplicationCallbackInfo.md +18 -18
  127. tccli/examples/ess/v20201111/ModifyFlowDeadline.md +31 -31
  128. tccli/examples/ess/v20201111/ModifyIntegrationRole.md +25 -25
  129. tccli/examples/ess/v20201111/StartFlow.md +17 -17
  130. tccli/examples/ess/v20201111/UnbindEmployeeUserIdWithClientOpenId.md +13 -13
  131. tccli/examples/ess/v20201111/UpdateIntegrationEmployees.md +25 -25
  132. tccli/examples/essbasic/v20210526/ChannelBatchCancelFlows.md +10 -10
  133. tccli/examples/essbasic/v20210526/ChannelCreateBatchQuickSignUrl.md +43 -43
  134. tccli/examples/essbasic/v20210526/ChannelCreateBoundFlows.md +10 -10
  135. tccli/examples/essbasic/v20210526/ChannelCreateFlowApprovers.md +34 -34
  136. tccli/examples/essbasic/v20210526/ChannelCreateFlowByFiles.md +67 -67
  137. tccli/examples/essbasic/v20210526/ChannelCreateMultiFlowSignQRCode.md +17 -17
  138. tccli/examples/essbasic/v20210526/ChannelCreatePreparedPersonalEsign.md +27 -27
  139. tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +70 -70
  140. tccli/examples/essbasic/v20210526/ChannelCreateRole.md +26 -26
  141. tccli/examples/essbasic/v20210526/ChannelCreateSealPolicy.md +10 -10
  142. tccli/examples/essbasic/v20210526/ChannelDescribeBillUsageDetail.md +7 -7
  143. tccli/examples/essbasic/v20210526/ChannelModifyRole.md +27 -27
  144. tccli/examples/essbasic/v20210526/ChannelVerifyPdf.md +29 -29
  145. tccli/examples/essbasic/v20210526/CreateBatchOrganizationRegistrationTasks.md +16 -16
  146. tccli/examples/essbasic/v20210526/CreateChannelFlowEvidenceReport.md +14 -14
  147. tccli/examples/essbasic/v20210526/CreateConsoleLoginUrl.md +18 -18
  148. tccli/examples/essbasic/v20210526/CreateFlowGroupSignReview.md +22 -22
  149. tccli/examples/essbasic/v20210526/CreateFlowsByTemplates.md +161 -161
  150. tccli/examples/essbasic/v20210526/CreatePartnerAutoSignAuthUrl.md +5 -5
  151. tccli/examples/essbasic/v20210526/CreateSealByImage.md +22 -22
  152. tccli/examples/essbasic/v20210526/CreateSignUrls.md +153 -153
  153. tccli/examples/essbasic/v20210526/DescribeChannelFlowEvidenceReport.md +6 -6
  154. tccli/examples/essbasic/v20210526/DescribeChannelOrganizations.md +20 -20
  155. tccli/examples/essbasic/v20210526/DescribeExtendedServiceAuthDetail.md +20 -20
  156. tccli/examples/essbasic/v20210526/DescribeExtendedServiceAuthInfo.md +27 -27
  157. tccli/examples/essbasic/v20210526/DescribeResourceUrlsByFlows.md +22 -22
  158. tccli/examples/essbasic/v20210526/DescribeTemplates.md +87 -87
  159. tccli/examples/essbasic/v20210526/ModifyFlowDeadline.md +31 -31
  160. tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +41 -41
  161. tccli/examples/facefusion/v20181201/FaceFusion.md +26 -26
  162. tccli/examples/faceid/v20180301/BankCardVerification.md +10 -10
  163. tccli/examples/faceid/v20180301/DetectAIFakeFaces.md +20 -20
  164. tccli/examples/faceid/v20180301/IdCardOCRVerification.md +18 -18
  165. tccli/examples/faceid/v20180301/MobileNetworkTimeVerification.md +12 -12
  166. tccli/examples/fmu/v20191213/CreateModel.md +9 -9
  167. tccli/examples/fmu/v20191213/DeleteModel.md +8 -8
  168. tccli/examples/fmu/v20191213/StyleImagePro.md +13 -13
  169. tccli/examples/fmu/v20191213/TryLipstickPic.md +28 -28
  170. tccli/examples/gaap/v20180529/DescribeDestRegions.md +24 -24
  171. tccli/examples/gaap/v20180529/ModifyProxyGroupAttribute.md +8 -8
  172. tccli/examples/gme/v20180711/ScanVoice.md +13 -13
  173. tccli/examples/hunyuan/v20230901/ChatPro.md +66 -66
  174. tccli/examples/hunyuan/v20230901/ChatStd.md +39 -39
  175. tccli/examples/iai/v20180301/CopyPerson.md +17 -17
  176. tccli/examples/iai/v20180301/CreateFace.md +26 -26
  177. tccli/examples/iai/v20180301/CreateGroup.md +34 -34
  178. tccli/examples/iai/v20180301/CreatePerson.md +60 -60
  179. tccli/examples/iai/v20180301/DeleteFace.md +16 -16
  180. tccli/examples/iai/v20180301/DeleteGroup.md +12 -12
  181. tccli/examples/iai/v20180301/DeletePerson.md +12 -12
  182. tccli/examples/iai/v20180301/DeletePersonFromGroup.md +14 -14
  183. tccli/examples/iai/v20180301/GetGroupList.md +26 -26
  184. tccli/examples/iai/v20180301/GetPersonBaseInfo.md +18 -18
  185. tccli/examples/iai/v20180301/GetPersonGroupInfo.md +22 -22
  186. tccli/examples/iai/v20180301/GetPersonList.md +29 -29
  187. tccli/examples/iai/v20180301/GetPersonListNum.md +14 -14
  188. tccli/examples/iai/v20180301/ModifyGroup.md +31 -31
  189. tccli/examples/iai/v20180301/ModifyPersonBaseInfo.md +13 -13
  190. tccli/examples/iai/v20180301/ModifyPersonGroupInfo.md +14 -14
  191. tccli/examples/iai/v20180301/SearchFaces.md +52 -52
  192. tccli/examples/iai/v20180301/SearchPersons.md +26 -26
  193. tccli/examples/iai/v20180301/SearchPersonsReturnsByGroup.md +29 -29
  194. tccli/examples/iai/v20200303/CopyPerson.md +17 -17
  195. tccli/examples/iai/v20200303/CreateFace.md +26 -26
  196. tccli/examples/iai/v20200303/CreateGroup.md +34 -34
  197. tccli/examples/iai/v20200303/CreatePerson.md +58 -58
  198. tccli/examples/iai/v20200303/DeleteFace.md +16 -16
  199. tccli/examples/iai/v20200303/DeleteGroup.md +12 -12
  200. tccli/examples/iai/v20200303/DeletePerson.md +12 -12
  201. tccli/examples/iai/v20200303/DeletePersonFromGroup.md +14 -14
  202. tccli/examples/iai/v20200303/GetGroupList.md +26 -26
  203. tccli/examples/iai/v20200303/GetPersonBaseInfo.md +18 -18
  204. tccli/examples/iai/v20200303/GetPersonGroupInfo.md +28 -28
  205. tccli/examples/iai/v20200303/GetPersonList.md +28 -28
  206. tccli/examples/iai/v20200303/GetPersonListNum.md +14 -14
  207. tccli/examples/iai/v20200303/GetUpgradeGroupFaceModelVersionResult.md +16 -16
  208. tccli/examples/iai/v20200303/ModifyGroup.md +31 -31
  209. tccli/examples/iai/v20200303/ModifyPersonGroupInfo.md +21 -21
  210. tccli/examples/iai/v20200303/SearchFaces.md +52 -52
  211. tccli/examples/iai/v20200303/SearchPersons.md +26 -26
  212. tccli/examples/iai/v20200303/SearchPersonsReturnsByGroup.md +29 -29
  213. tccli/examples/iai/v20200303/UpgradeGroupFaceModelVersion.md +19 -19
  214. tccli/examples/iecp/v20210914/CreateEdgeUnitCloud.md +18 -18
  215. tccli/examples/iotexplorer/v20190423/CallDeviceActionSync.md +13 -13
  216. tccli/examples/iotexplorer/v20190423/ControlDeviceData.md +8 -8
  217. tccli/examples/iotexplorer/v20190423/CreateBatchProduction.md +10 -10
  218. tccli/examples/iotexplorer/v20190423/GetLoRaGatewayList.md +20 -20
  219. tccli/examples/iotvideo/v20191126/DescribeAccountBalance.md +14 -14
  220. tccli/examples/iotvideo/v20191126/DescribeRechargeRecords.md +17 -17
  221. tccli/examples/iotvideoindustry/v20201201/DescribeRecordStream.md +7 -7
  222. tccli/examples/iotvideoindustry/v20201201/GetVideoListByCon.md +5 -5
  223. tccli/examples/iss/v20230517/AddUserDevice.md +10 -10
  224. tccli/examples/iss/v20230517/ListOrganizationChannels.md +56 -56
  225. tccli/examples/iss/v20230517/ListRecordPlanDevices.md +67 -67
  226. tccli/examples/iss/v20230517/ListRecordRetrieveTasks.md +20 -20
  227. tccli/examples/iss/v20230517/UpdateRecordPlan.md +12 -12
  228. tccli/examples/iss/v20230517/UpdateRecordTemplate.md +16 -16
  229. tccli/examples/iss/v20230517/UpdateUserDevice.md +25 -25
  230. tccli/examples/ivld/v20210903/DescribeCustomCategories.md +12 -12
  231. tccli/examples/ivld/v20210903/DescribeMedia.md +24 -24
  232. tccli/examples/ivld/v20210903/ImportMedia.md +11 -11
  233. tccli/examples/lcic/v20220817/DescribeDocument.md +33 -33
  234. tccli/examples/lcic/v20220817/DescribeRoom.md +40 -40
  235. tccli/examples/lcic/v20220817/ModifyRoom.md +26 -26
  236. tccli/examples/live/v20180801/CreateCommonMixStream.md +8 -8
  237. tccli/examples/live/v20180801/CreateLiveRecordTemplate.md +22 -22
  238. tccli/examples/monitor/v20180724/CreateExporterIntegration.md +204 -204
  239. tccli/examples/monitor/v20180724/CreatePrometheusClusterAgent.md +25 -25
  240. tccli/examples/monitor/v20180724/DescribeAlarmPolicies.md +32 -32
  241. tccli/examples/monitor/v20180724/DescribeMonitorResourceInfo.md +4 -4
  242. tccli/examples/monitor/v20180724/DescribePrometheusInstanceInitStatus.md +6 -6
  243. tccli/examples/monitor/v20180724/GetMonitorData.md +51 -51
  244. tccli/examples/monitor/v20180724/ModifyAlarmPolicyCondition.md +31 -31
  245. tccli/examples/mps/v20190612/CreateAIRecognitionTemplate.md +22 -22
  246. tccli/examples/mps/v20190612/CreateContentReviewTemplate.md +23 -23
  247. tccli/examples/mps/v20190612/CreateWordSamples.md +13 -13
  248. tccli/examples/mps/v20190612/DescribeAIAnalysisTemplates.md +29 -29
  249. tccli/examples/mps/v20190612/DescribeAIRecognitionTemplates.md +17 -17
  250. tccli/examples/mps/v20190612/DescribeContentReviewTemplates.md +51 -51
  251. tccli/examples/mps/v20190612/DescribeTasks.md +9 -9
  252. tccli/examples/mps/v20190612/ModifyAIAnalysisTemplate.md +6 -6
  253. tccli/examples/mps/v20190612/ModifyContentReviewTemplate.md +7 -7
  254. tccli/examples/ms/v20180408/CreateEncryptInstance.md +48 -48
  255. tccli/examples/ms/v20180408/DescribeEncryptInstances.md +63 -63
  256. tccli/examples/ms/v20180408/DescribeEncryptPlan.md +30 -30
  257. tccli/examples/ms/v20180408/DescribeShieldResult.md +42 -42
  258. tccli/examples/oceanus/v20190422/CheckSavepoint.md +16 -16
  259. tccli/examples/oceanus/v20190422/DescribeJobSubmissionLog.md +42 -42
  260. tccli/examples/oceanus/v20190422/DescribeTreeResources.md +48 -48
  261. tccli/examples/ocr/v20181119/GeneralHandwritingOCR.md +48 -48
  262. tccli/examples/ocr/v20181119/IDCardOCR.md +30 -30
  263. tccli/examples/omics/v20221128/RetryRuns.md +11 -11
  264. tccli/examples/partners/v20180321/DescribeAgentClients.md +26 -26
  265. tccli/examples/postgres/v20170312/CreateInstances.md +15 -15
  266. tccli/examples/postgres/v20170312/DescribeDBInstanceHAConfig.md +12 -12
  267. tccli/examples/postgres/v20170312/DescribeDBInstanceSecurityGroups.md +49 -49
  268. tccli/examples/postgres/v20170312/ModifyDBInstanceDeployment.md +8 -8
  269. tccli/examples/postgres/v20170312/ModifyDBInstanceHAConfig.md +15 -15
  270. tccli/examples/postgres/v20170312/ModifyDBInstanceName.md +12 -12
  271. tccli/examples/rum/v20210622/CreateWhitelist.md +14 -14
  272. tccli/examples/rum/v20210622/DescribeDataFetchProject.md +25 -25
  273. tccli/examples/rum/v20210622/DescribeDataFetchUrl.md +29 -29
  274. tccli/examples/rum/v20210622/DescribeDataPerformancePage.md +25 -25
  275. tccli/examples/rum/v20210622/DescribeDataPvUrlStatistics.md +32 -32
  276. tccli/examples/rum/v20210622/DescribeDataSetUrlStatistics.md +25 -25
  277. tccli/examples/rum/v20210622/DescribeProjects.md +6 -6
  278. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +22 -22
  279. tccli/examples/rum/v20210622/DescribeRumLogExport.md +17 -17
  280. tccli/examples/rum/v20210622/DescribeRumLogExports.md +12 -12
  281. tccli/examples/rum/v20210622/DescribeRumLogList.md +18 -18
  282. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +16 -16
  283. tccli/examples/rum/v20210622/ModifyProjectLimit.md +13 -13
  284. tccli/examples/ses/v20201002/SendEmail.md +5 -5
  285. tccli/examples/soe/v20180724/InitOralProcess.md +18 -18
  286. tccli/examples/soe/v20180724/TransmitOralProcessWithInit.md +155 -155
  287. tccli/examples/sqlserver/v20180328/DescribeBackupByFlowId.md +24 -24
  288. tccli/examples/sqlserver/v20180328/DescribeBackupCommand.md +12 -12
  289. tccli/examples/sqlserver/v20180328/ModifyDBInstanceNetwork.md +15 -15
  290. tccli/examples/ssl/v20191205/UploadCertificate.md +17 -17
  291. tccli/examples/sts/v20180813/GetCallerIdentity.md +14 -14
  292. tccli/examples/tag/v20180813/ModifyResourceTags.md +8 -8
  293. tccli/examples/tan/v20220420/CreateBlockNodeRecords.md +4 -4
  294. tccli/examples/tat/v20201028/DescribeCommands.md +39 -39
  295. tccli/examples/tcb/v20180608/CreateWxCloudBaseRunServerDBCluster.md +16 -16
  296. tccli/examples/tcbr/v20220217/CreateCloudRunEnv.md +30 -30
  297. tccli/examples/tcbr/v20220217/CreateCloudRunServer.md +48 -48
  298. tccli/examples/tcbr/v20220217/DescribeCloudRunEnvs.md +24 -24
  299. tccli/examples/tcbr/v20220217/DescribeCloudRunServerDetail.md +25 -25
  300. tccli/examples/tcr/v20190924/CreateServiceAccount.md +28 -28
  301. tccli/examples/tcr/v20190924/ModifyInstanceToken.md +7 -7
  302. tccli/examples/tcr/v20190924/ModifyServiceAccountPassword.md +11 -11
  303. tccli/examples/tcss/v20201101/AddAssetImageRegistryRegistryDetail.md +31 -31
  304. tccli/examples/tcss/v20201101/CreateAssetImageRegistryScanTask.md +12 -12
  305. tccli/examples/tcss/v20201101/DescribeAbnormalProcessRuleDetail.md +52 -52
  306. tccli/examples/tcss/v20201101/DescribeAccessControlRuleDetail.md +54 -54
  307. tccli/examples/tcss/v20201101/DescribeAssetImageRegistryDetail.md +36 -36
  308. tccli/examples/tcss/v20201101/DescribeAssetImageRegistryScanStatusOneKey.md +29 -29
  309. tccli/examples/tcss/v20201101/ModifyAssetImageRegistryScanStop.md +9 -9
  310. tccli/examples/tcss/v20201101/ModifyAssetImageRegistryScanStopOneKey.md +8 -8
  311. tccli/examples/tdmq/v20200217/CreateCmqQueue.md +8 -8
  312. tccli/examples/tdmq/v20200217/CreateCmqTopic.md +8 -8
  313. tccli/examples/tdmq/v20200217/DescribeRocketMQMigratingTopicList.md +33 -33
  314. tccli/examples/tdmq/v20200217/DescribeRocketMQSourceClusterGroupList.md +54 -54
  315. tccli/examples/tdmq/v20200217/DescribeRocketMQSourceClusterTopicList.md +44 -44
  316. tccli/examples/tdmq/v20200217/ImportRocketMQConsumerGroups.md +14 -14
  317. tccli/examples/teo/v20220901/CreateAccelerationDomain.md +19 -19
  318. tccli/examples/teo/v20220901/CreatePurgeTask.md +24 -24
  319. tccli/examples/teo/v20220901/CreateRule.md +59 -59
  320. tccli/examples/teo/v20220901/CreateZone.md +32 -32
  321. tccli/examples/teo/v20220901/DescribeOverviewL7Data.md +16 -16
  322. tccli/examples/teo/v20220901/DescribeTimingL4Data.md +6 -6
  323. tccli/examples/teo/v20220901/DescribeTimingL7AnalysisData.md +7 -7
  324. tccli/examples/teo/v20220901/DescribeTimingL7CacheData.md +14 -14
  325. tccli/examples/teo/v20220901/DescribeTopL7AnalysisData.md +9 -9
  326. tccli/examples/teo/v20220901/DescribeTopL7CacheData.md +24 -24
  327. tccli/examples/tiia/v20190529/CreateImage.md +11 -11
  328. tccli/examples/tiia/v20190529/DeleteImages.md +8 -8
  329. tccli/examples/tiia/v20190529/DetectChefDress.md +25 -25
  330. tccli/examples/tiia/v20190529/DetectLabel.md +25 -25
  331. tccli/examples/tiia/v20190529/DetectPet.md +24 -24
  332. tccli/examples/tiia/v20190529/DetectSecurity.md +25 -25
  333. tccli/examples/tiia/v20190529/EnhanceImage.md +11 -11
  334. tccli/examples/tiia/v20190529/RecognizeCarPro.md +25 -25
  335. tccli/examples/tiia/v20190529/UpdateImage.md +13 -13
  336. tccli/examples/tke/v20180525/DeleteReservedInstances.md +12 -12
  337. tccli/examples/tke/v20180525/DescribePodsBySpec.md +15 -15
  338. tccli/examples/tke/v20180525/DescribeRIUtilizationDetail.md +16 -16
  339. tccli/examples/tke/v20180525/DescribeReservedInstances.md +17 -17
  340. tccli/examples/tke/v20180525/ModifyReservedInstanceScope.md +19 -19
  341. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +30 -30
  342. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +6 -6
  343. tccli/examples/trtc/v20190722/StartPublishCdnStream.md +24 -24
  344. tccli/examples/trtc/v20190722/UpdatePublishCdnStream.md +27 -27
  345. tccli/examples/tse/v20201207/DescribeConfigFileReleaseHistories.md +48 -48
  346. tccli/examples/tsf/v20180326/DeployGroup.md +15 -15
  347. tccli/examples/tsf/v20180326/DescribeApiGroups.md +47 -47
  348. tccli/examples/vm/v20201229/CreateVideoModerationTask.md +19 -19
  349. tccli/examples/vod/v20180717/CreateAIRecognitionTemplate.md +12 -12
  350. tccli/examples/vod/v20180717/CreateContentReviewTemplate.md +16 -16
  351. tccli/examples/vod/v20180717/CreateImageProcessingTemplate.md +12 -12
  352. tccli/examples/vod/v20180717/CreateProcedureTemplate.md +23 -23
  353. tccli/examples/vod/v20180717/CreateWordSamples.md +13 -13
  354. tccli/examples/vod/v20180717/DeleteMedia.md +10 -10
  355. tccli/examples/vod/v20180717/DescribeAIAnalysisTemplates.md +32 -32
  356. tccli/examples/vod/v20180717/DescribeAIRecognitionTemplates.md +46 -46
  357. tccli/examples/vod/v20180717/DescribeCDNUsageData.md +13 -13
  358. tccli/examples/vod/v20180717/DescribeContentReviewTemplates.md +7 -7
  359. tccli/examples/vod/v20180717/DescribeTaskDetail.md +119 -119
  360. tccli/examples/vod/v20180717/EditMedia.md +53 -53
  361. tccli/examples/vod/v20180717/ModifyAIAnalysisTemplate.md +6 -6
  362. tccli/examples/vod/v20180717/ModifyAIRecognitionTemplate.md +9 -9
  363. tccli/examples/vod/v20180717/ModifyMediaInfo.md +23 -23
  364. tccli/examples/vod/v20180717/ModifyVodDomainConfig.md +13 -13
  365. tccli/examples/vod/v20180717/ProcessMedia.md +29 -29
  366. tccli/examples/vod/v20180717/ProcessMediaByUrl.md +8 -8
  367. tccli/examples/vod/v20180717/SearchMedia.md +12 -12
  368. tccli/examples/vod/v20180717/SimpleHlsClip.md +6 -6
  369. tccli/examples/vpc/v20170312/CheckAssistantCidr.md +19 -19
  370. tccli/examples/vpc/v20170312/CloneSecurityGroup.md +15 -15
  371. tccli/examples/vpc/v20170312/CreateDefaultVpc.md +14 -14
  372. tccli/examples/vpc/v20170312/DeleteSecurityGroupPolicies.md +24 -24
  373. tccli/examples/vpc/v20170312/DescribeAddresses.md +74 -74
  374. tccli/examples/vpc/v20170312/DescribeCrossBorderCcnRegionBandwidthLimits.md +43 -43
  375. tccli/examples/vpc/v20170312/DescribeDhcpIps.md +5 -5
  376. tccli/examples/vpc/v20170312/DescribeIp6Addresses.md +7 -7
  377. tccli/examples/vpc/v20170312/DescribeNatGatewayDestinationIpPortTranslationNatRules.md +13 -13
  378. tccli/examples/vpc/v20170312/DescribeNatGateways.md +39 -39
  379. tccli/examples/vpc/v20170312/ModifyNetworkAclEntries.md +14 -14
  380. tccli/examples/vpc/v20170312/RefreshDirectConnectGatewayRouteToNatGateway.md +8 -8
  381. tccli/examples/vpc/v20170312/ReleaseIp6AddressesBandwidth.md +10 -10
  382. tccli/examples/vpc/v20170312/SetCcnRegionBandwidthLimits.md +11 -11
  383. tccli/examples/waf/v20180125/AddAntiFakeUrl.md +10 -10
  384. tccli/examples/waf/v20180125/AddSpartaProtection.md +42 -42
  385. tccli/examples/waf/v20180125/DescribeCCRuleList.md +48 -48
  386. tccli/examples/waf/v20180125/DescribeCustomRuleList.md +25 -25
  387. tccli/examples/waf/v20180125/DescribeTlsVersion.md +4 -4
  388. tccli/examples/waf/v20180125/ModifyApiAnalyzeStatus.md +7 -7
  389. tccli/examples/waf/v20180125/ModifyBotStatus.md +9 -9
  390. tccli/examples/waf/v20180125/ModifySpartaProtection.md +46 -46
  391. tccli/examples/waf/v20180125/UpsertCCRule.md +25 -25
  392. tccli/examples/wedata/v20210820/BatchCreateTaskVersionDs.md +33 -33
  393. tccli/examples/wedata/v20210820/BatchDeleteTasksDs.md +13 -13
  394. tccli/examples/wedata/v20210820/BatchStopIntegrationTasks.md +18 -18
  395. tccli/examples/wedata/v20210820/CommitIntegrationTask.md +23 -23
  396. tccli/examples/wedata/v20210820/DeleteProjectUsers.md +4 -4
  397. tccli/examples/wedata/v20210820/DescribeBatchOperateTask.md +32 -32
  398. tccli/examples/wedata/v20210820/DescribeColumnsMeta.md +48 -48
  399. tccli/examples/wedata/v20210820/DescribeIntegrationTasks.md +142 -142
  400. tccli/examples/wedata/v20210820/DescribeOperateOpsTasks.md +49 -49
  401. tccli/examples/wedata/v20210820/DescribeProject.md +6 -6
  402. tccli/examples/wedata/v20210820/DescribeSchedulerInstanceStatus.md +35 -35
  403. tccli/examples/wedata/v20210820/DescribeSchedulerRunTimeInstanceCntByStatus.md +29 -29
  404. tccli/examples/wedata/v20210820/DescribeSchedulerTaskCntByStatus.md +23 -23
  405. tccli/examples/wedata/v20210820/DescribeSchedulerTaskTypeCnt.md +26 -26
  406. tccli/examples/wedata/v20210820/DescribeStatisticInstanceStatusTrendOps.md +34 -34
  407. tccli/examples/wedata/v20210820/DescribeTableLineage.md +48 -48
  408. tccli/examples/wedata/v20210820/DescribeTaskByCycle.md +20 -20
  409. tccli/examples/wedata/v20210820/ModifyBaselineAlarmStatus.md +10 -10
  410. tccli/examples/wedata/v20210820/ResumeIntegrationTask.md +18 -18
  411. tccli/examples/wedata/v20210820/StartIntegrationTask.md +18 -18
  412. tccli/examples/weilingwith/v20230427/BatchDeleteDevice.md +22 -0
  413. tccli/examples/weilingwith/v20230427/DeleteDeviceGroup.md +27 -0
  414. tccli/examples/weilingwith/v20230427/DescribeDeviceGroupList.md +61 -0
  415. tccli/examples/weilingwith/v20230427/DescribeSpaceRelationByDeviceId.md +36 -36
  416. tccli/examples/weilingwith/v20230427/DescribeTenantDepartmentList.md +6 -6
  417. tccli/examples/weilingwith/v20230427/ModifyDeviceField.md +27 -0
  418. tccli/examples/weilingwith/v20230427/ModifyDeviceGroup.md +26 -0
  419. tccli/examples/weilingwith/v20230427/ModifyDeviceTag.md +26 -0
  420. tccli/examples/weilingwith/v20230427/SaveDeviceGroup.md +31 -0
  421. tccli/examples/yinsuda/v20220527/SyncKTVRobotCommand.md +20 -20
  422. tccli/services/acp/v20220105/examples.json +42 -42
  423. tccli/services/af/v20200226/examples.json +4 -4
  424. tccli/services/afc/v20200226/examples.json +15 -15
  425. tccli/services/ams/v20201229/examples.json +6 -6
  426. tccli/services/antiddos/v20200309/examples.json +6 -6
  427. tccli/services/apigateway/v20180808/examples.json +6 -6
  428. tccli/services/apm/v20210622/examples.json +14 -14
  429. tccli/services/asr/v20190614/examples.json +6 -6
  430. tccli/services/autoscaling/v20180419/examples.json +40 -40
  431. tccli/services/bi/v20220105/examples.json +24 -24
  432. tccli/services/billing/v20180709/examples.json +24 -24
  433. tccli/services/bmvpc/v20180625/examples.json +12 -12
  434. tccli/services/btoe/v20210514/examples.json +6 -6
  435. tccli/services/cat/v20180409/examples.json +12 -12
  436. tccli/services/cbs/v20170312/examples.json +18 -18
  437. tccli/services/cdb/v20170320/examples.json +12 -12
  438. tccli/services/cdn/v20180606/examples.json +20 -20
  439. tccli/services/cdwch/v20200915/api.json +3 -0
  440. tccli/services/cdwch/v20200915/examples.json +3 -3
  441. tccli/services/cdwdoris/v20211228/examples.json +4 -4
  442. tccli/services/cfg/v20210820/examples.json +6 -6
  443. tccli/services/cfw/v20190904/examples.json +16 -16
  444. tccli/services/ckafka/v20190819/examples.json +12 -12
  445. tccli/services/clb/v20180317/examples.json +86 -86
  446. tccli/services/cls/v20201016/examples.json +18 -18
  447. tccli/services/cme/v20191029/examples.json +192 -192
  448. tccli/services/cvm/v20170312/examples.json +20 -20
  449. tccli/services/cwp/v20180228/examples.json +18 -18
  450. tccli/services/cynosdb/v20190107/examples.json +10 -10
  451. tccli/services/dc/v20180410/examples.json +20 -20
  452. tccli/services/dlc/v20210125/examples.json +6 -6
  453. tccli/services/dnspod/v20210323/examples.json +4 -4
  454. tccli/services/domain/domain_client.py +61 -8
  455. tccli/services/domain/v20180808/api.json +34 -0
  456. tccli/services/domain/v20180808/examples.json +8 -0
  457. tccli/services/dsgc/v20190723/examples.json +6 -6
  458. tccli/services/dts/v20180330/examples.json +12 -12
  459. tccli/services/ecc/v20181213/examples.json +14 -14
  460. tccli/services/ecm/v20190719/examples.json +20 -20
  461. tccli/services/emr/v20190103/examples.json +12 -12
  462. tccli/services/ess/v20201111/api.json +1 -1
  463. tccli/services/ess/v20201111/examples.json +355 -355
  464. tccli/services/essbasic/v20210526/api.json +10 -1
  465. tccli/services/essbasic/v20210526/examples.json +215 -215
  466. tccli/services/facefusion/v20181201/examples.json +4 -4
  467. tccli/services/faceid/v20180301/examples.json +24 -24
  468. tccli/services/fmu/v20191213/examples.json +20 -20
  469. tccli/services/gaap/v20180529/examples.json +10 -10
  470. tccli/services/gme/v20180711/examples.json +6 -6
  471. tccli/services/hunyuan/v20230901/examples.json +17 -17
  472. tccli/services/iai/v20180301/examples.json +142 -142
  473. tccli/services/iai/v20200303/examples.json +136 -136
  474. tccli/services/iecp/v20210914/examples.json +6 -6
  475. tccli/services/ioa/v20220601/api.json +1 -1
  476. tccli/services/iotexplorer/v20190423/examples.json +22 -22
  477. tccli/services/iotvideo/v20191126/examples.json +12 -12
  478. tccli/services/iotvideoindustry/v20201201/examples.json +12 -12
  479. tccli/services/iss/v20230517/examples.json +40 -40
  480. tccli/services/ivld/v20210903/examples.json +14 -14
  481. tccli/services/lcic/v20220817/examples.json +18 -18
  482. tccli/services/live/v20180801/api.json +9 -0
  483. tccli/services/live/v20180801/examples.json +12 -12
  484. tccli/services/monitor/v20180724/examples.json +98 -98
  485. tccli/services/mps/v20190612/examples.json +58 -58
  486. tccli/services/mrs/v20200910/api.json +2 -1
  487. tccli/services/ms/v20180408/examples.json +24 -24
  488. tccli/services/oceanus/v20190422/examples.json +18 -18
  489. tccli/services/ocr/v20181119/api.json +10 -0
  490. tccli/services/ocr/v20181119/examples.json +12 -12
  491. tccli/services/omics/v20221128/api.json +25 -7
  492. tccli/services/omics/v20221128/examples.json +6 -6
  493. tccli/services/partners/v20180321/examples.json +6 -6
  494. tccli/services/postgres/v20170312/examples.json +36 -36
  495. tccli/services/rum/v20210622/examples.json +78 -78
  496. tccli/services/ses/v20201002/examples.json +4 -4
  497. tccli/services/soe/v20180724/examples.json +12 -12
  498. tccli/services/sqlserver/v20180328/examples.json +18 -18
  499. tccli/services/ssl/v20191205/examples.json +6 -6
  500. tccli/services/sts/v20180813/examples.json +6 -6
  501. tccli/services/tag/v20180813/examples.json +4 -4
  502. tccli/services/tan/v20220420/examples.json +4 -4
  503. tccli/services/tat/v20201028/examples.json +6 -6
  504. tccli/services/tcb/v20180608/examples.json +6 -6
  505. tccli/services/tcbr/v20220217/examples.json +24 -24
  506. tccli/services/tcr/v20190924/examples.json +18 -18
  507. tccli/services/tcss/v20201101/examples.json +47 -47
  508. tccli/services/tdmq/v20200217/examples.json +36 -36
  509. tccli/services/teo/v20220901/examples.json +78 -78
  510. tccli/services/tiia/v20190529/examples.json +52 -52
  511. tccli/services/tke/v20180525/examples.json +36 -36
  512. tccli/services/trocket/v20230308/api.json +9 -0
  513. tccli/services/trocket/v20230308/examples.json +12 -12
  514. tccli/services/trtc/v20190722/api.json +4 -7
  515. tccli/services/trtc/v20190722/examples.json +15 -15
  516. tccli/services/tse/v20201207/examples.json +6 -6
  517. tccli/services/tsf/v20180326/examples.json +12 -12
  518. tccli/services/vm/v20201229/examples.json +6 -6
  519. tccli/services/vod/v20180717/examples.json +141 -141
  520. tccli/services/vpc/v20170312/examples.json +90 -90
  521. tccli/services/waf/v20180125/examples.json +58 -58
  522. tccli/services/wedata/v20210820/examples.json +122 -122
  523. tccli/services/weilingwith/v20230427/api.json +625 -0
  524. tccli/services/weilingwith/v20230427/examples.json +68 -12
  525. tccli/services/weilingwith/weilingwith_client.py +379 -8
  526. tccli/services/yinsuda/v20220527/examples.json +12 -12
  527. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/METADATA +2 -2
  528. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/RECORD +531 -523
  529. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/WHEEL +0 -0
  530. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/entry_points.txt +0 -0
  531. {tccli-3.0.1086.1.dist-info → tccli-3.0.1088.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,26 +1,19 @@
1
- **Example 1: a. 创建 云监控 集成**
1
+ **Example 1: g. 创建 EMR 集成**
2
2
 
3
3
  参数说明:
4
4
  1. InstanceId 是 Prometheus 实例 ID,必填
5
- 2. Kind 参数固定为 `qcloud-exporter`,必填
5
+ 2. Kind 参数固定为 `emr-exporter`,必填
6
6
  3. Content 参数格式如示例。说明如下:
7
- 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
8
- 3.2. kind 是集成类型,必填且这里固定为 `qcloud-exporter`
9
- 3.3. spec.instanceSpec.region 是云产品所在地域,必填,比如采集广州地域的云产品,可以填 `广州` 或 `ap-guangzhou`,该参数最终会转化为指标的 label, 名为 `instance-region`
10
- 3.4. spec.instanceSpec.delaySeconds 表示数据采集延迟,整数,单位是秒,可不填,默认是 0。当值为 0 时,原始数据点的时间戳会被忽略,替换为集成拉取到数据点的时间;当值 >0 时,数据点会保留原始的时间戳,且数据必然会延迟设置的时间
11
- 3.5. spec.instanceSpec.reload_interval_minutes 表示实例刷新间隔,整数,单位是分钟,必填且必须大于等于 10。云产品实例的新增或者云标签的修改,会在刷新实例后反映在指标中,至多需要等待一个实例刷新间隔
12
- 3.6. spec.instanceSpec.useRole 表示是否使用服务角色,布尔类型,必填。当前逻辑一定会使用服务角色,所以必填 `true`
13
- 3.7. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
14
- 3.8. spec.exporterSpec.[云产品] 表示是否采集对应云产品,布尔类型,`true` 表示采集该云产品。云产品各编码指代含义:`cvm`:云服务器,`cbs`:云硬盘,`lb_public`:负载均衡(公网),`lb_private`:负载均衡(内网),`tgw_set`:负载均衡(独占集群),`cmongo`:数据库MongoDB,`cdb`:数据库MySQL(CDB),`redis`:数据库Redis(CKV版),`redis_mem`:数据库Redis(内存版),`tendis`:Tendis,`xstor`:CTSDB(InfluxDB版),`mariadb`:数据库MariaDB,`postgres`:数据库PostgreSQL,`tdmysql`:TDSQL MySQL版,`cynosdb_mysql`:TDSQL-C MySQL,`sqlserver`:数据库SQL Server,`nat_gateway`:NAT网关,`ckafka`:CKafka,`rocketmq`:RocketMQ(新指标),`lb`:弹性公网IP,`vpngw`:VPN网关,`vpnx`:VPN通道,`vpc_net_detect`:网络探测,`cdn`:CDN,`ov_cdn`:CND(海外),`cos`:COS,`dc`:专线接入-物理专线,`dcx`:专线接入-专用通道,`dcg`:专线接入-专线网关,`lighthouse`:轻量应用服务器,`nacos`:Nacos,`zookeeper`:Zookeeper,`ces`:Elasticsearch,`dts`:数据传输服务,`vbc`:云联网,`gaap`:全球应用加速,`waf`:Web应用防火墙,`cfs`:文件存储,`bwp`:共享带宽包,`scf_v2`:云函数(别名),`vod`:云点播(VOD),`cls`:日志服务(CLS)-日志主题,`apigateway`:API 网关,`ti_traintask`:TI-ONE(任务式建模),`ti_notebook`:TI-ONE(Notebook),`ti_model`:TI-ONE(在线服务),`self`:采集器自监控
15
- 2.9. spec.scrapeSpec.relabelConfigs 用于添加 `metricRelabelings` 配置,选填。该配置是 prometheus-operator 的 relabel 配置,部分字段与 prometheus 原生 relabel 配置不同,具体可参考[官方配置说明](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.RelabelConfig)
7
+ 4.1. kind 是集成类型,必填且这里固定为 `emr-exporter`
8
+ 4.2. spec.job 是抓取配置,必填,yaml格式,具体可参考[EMR 接入文档](https://cloud.tencent.com/document/product/1416/92850#cb099aba-2dd3-42e6-bc10-69db3999a5a8)
16
9
 
17
10
  Input:
18
11
 
19
12
  ```
20
13
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
21
14
  --InstanceId prom-1 \
22
- --Kind qcloud-exporter \
23
- --Content {"name":"test","kind":"qcloud-exporter","spec":{"instanceSpec":{"region":"广州","delaySeconds":0,"reload_interval_minutes":10,"useRole":true,"labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"cvm":true,"cbs":true},"scrapeSpec":{"relabelConfigs":"metricRelabelings:\n- action: labeldrop\n regex: tmp_test_label\n"}}}
15
+ --Kind emr-exporter \
16
+ --Content {"kind":"emr-exporter","spec":{"job":"job_name: emr-example-job\nmetrics_path: /metrics\nemr_sd_configs:\n- region: ap-guangzhou\n instance_ids: \n - emr-test\nrelabel_configs:\n- regex: __meta_emr_(.*)\n replacement: $1\n action: labelmap"}}
24
17
  ```
25
18
 
26
19
  Output:
@@ -28,30 +21,29 @@ Output:
28
21
  {
29
22
  "Response": {
30
23
  "Names": [
31
- "test"
24
+ "emr-example-job"
32
25
  ],
33
26
  "RequestId": "xyz"
34
27
  }
35
28
  }
36
29
  ```
37
30
 
38
- **Example 2: b. 创建 CVM Node Exporter 集成**
31
+ **Example 2: f. 创建 Cdwch 集成**
39
32
 
40
- 该集成要保证 CVM 实例与 Prometheus 实例内网相通(比如同 VPC 下),且 CVM 实例安装了[自动化助手](https://cloud.tencent.com/document/product/1340/51945)。
41
33
  参数说明:
42
34
  1. InstanceId 是 Prometheus 实例 ID,必填
43
- 2. Kind 参数固定为 `cvm-node-exporter-sd`,必填
35
+ 2. Kind 参数固定为 `cdwch-exporter`,必填
44
36
  3. Content 参数格式如示例。说明如下:
45
- 3.1. kind 是集成类型,必填且这里固定为 `cvm-node-exporter-sd
46
- 3.2. spec.job 是抓取配置,必填,yaml格式,可参考输入示例,其中 instance_ids 可填写多个 CVM 实例 ID
37
+ 3.1. kind 是集成类型,必填且这里固定为 `cdwch-exporter`
38
+ 3.2. spec.job 是抓取配置,必填,yaml格式,建议参考输入示例,仅需修改任务名和实例 ID
47
39
 
48
40
  Input:
49
41
 
50
42
  ```
51
43
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
52
44
  --InstanceId prom-1 \
53
- --Kind cvm-node-exporter-sd \
54
- --Content {"kind":"cvm-node-exporter-sd","spec":{"job":"job_name: node-test\ninstance:\n - region: ap-chengdu\n instance_ids:\n - ins-a\n - ins-b\n"}}
45
+ --Kind cdwch-exporter \
46
+ --Content {"kind":"cdwch-exporter","spec":{"job":"job_name: cdwch-example-job\nmetrics_path: /metrics\ncdwch_sd_configs:\n- region: ap-guangzhou\n instance_ids: \n - cdwch-test\nrelabel_configs:\n- regex: __meta_cdwch_(.*)\n replacement: $1\n action: labelmap"}}
55
47
  ```
56
48
 
57
49
  Output:
@@ -59,29 +51,31 @@ Output:
59
51
  {
60
52
  "Response": {
61
53
  "Names": [
62
- "node-test"
54
+ "cdwch-example-job"
63
55
  ],
64
56
  "RequestId": "xyz"
65
57
  }
66
58
  }
67
59
  ```
68
60
 
69
- **Example 3: c. 创建 CVM 云服务器 集成**
61
+ **Example 3: h. 创建 抓取任务**
70
62
 
63
+ 安装 免鉴权代理,可以免鉴权内网访问 Prometheus 原生 API。
64
+ 创建后可以调用 DescribeExporterIntegrations 接口,通过 InstanceDesc 参数获取集成的内网 IP:Port 地址,该地址可以代替 Prometheus 实例地址,实现免鉴权访问。
71
65
  参数说明:
72
66
  1. InstanceId 是 Prometheus 实例 ID,必填
73
- 2. Kind 参数固定为 `cvm-http-sd-exporter`,必填
67
+ 2. Kind 参数固定为 `raw-job`,必填
74
68
  3. Content 参数格式如示例。说明如下:
75
- 3.1. kind 是集成类型,必填且这里固定为 `cvm-http-sd-exporter`
76
- 3.2. spec.job 是抓取配置,必填,yaml格式,具体配置可参考[抓取配置说明](https://cloud.tencent.com/document/product/1416/55995#%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%9C%8D%E5%8A%A1%E5%8F%91%E7%8E%B0%E9%85%8D%E7%BD%AE)
69
+ 3.1. kind 是集成类型,必填且这里固定为 `raw-job`
70
+ 3.2. spec.spec.job 是 Prometheus 原生抓取配置,yaml格式,必填。可参考[配置说明文档](https://cloud.tencent.com/document/product/1416/55995#.E5.8E.9F.E7.94.9F-job-.E9.85.8D.E7.BD.AE)
77
71
 
78
72
  Input:
79
73
 
80
74
  ```
81
75
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
82
76
  --InstanceId prom-1 \
83
- --Kind cvm-http-sd-exporter \
84
- --Content {"kind":"cvm-http-sd-exporter","spec":{"job":"job_name: example-job-name\nmetrics_path: /metrics\ncvm_sd_configs:\n- region: ap-singapore\n ports:\n - 9100\n filters: \n - name: tag:示例标签键\n values: \n - 示例标签值\nrelabel_configs: \n- source_labels: [__meta_cvm_instance_state]\n regex: RUNNING\n action: keep\n- regex: __meta_cvm_tag_(.*)\n replacement: $1\n action: labelmap\n- source_labels: [__meta_cvm_region]\n target_label: region\n action: replace"}}
77
+ --Kind raw-job \
78
+ --Content {"kind":"raw-job","spec":{"job":"job_name: test\nscrape_interval: 30s\nstatic_configs:\n- targets:\n - 127.0.0.1:9090"}}
85
79
  ```
86
80
 
87
81
  Output:
@@ -89,36 +83,35 @@ Output:
89
83
  {
90
84
  "Response": {
91
85
  "Names": [
92
- "example-job-name"
86
+ "test"
93
87
  ],
94
88
  "RequestId": "xyz"
95
89
  }
96
90
  }
97
91
  ```
98
92
 
99
- **Example 4: d. 创建 健康巡检 集成**
93
+ **Example 4: k. 创建 Kafka 集成**
100
94
 
95
+ 安装 kafka Exporter。
101
96
  参数说明:
102
97
  1. InstanceId 是 Prometheus 实例 ID,必填
103
- 2. Kind 参数固定为 `blackbox-exporter`,必填
98
+ 2. Kind 参数固定为 `kafka-exporter`,必填
104
99
  3. Content 参数格式如示例。说明如下:
105
100
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
106
- 3.2. kind 是集成类型,必填且这里固定为 `blackbox-exporter`
107
- 3.3. spec.instanceSpec.module 是探测方式,必填,可选值为 `http_get`、`http_post`、`tcp`、`ssh`、`ping`
108
- 3.4. spec.instanceSpec.urls 是探测目标,字符串数组,必填,目标格式可以是 host:port http://abc 或 https://abc
109
- 3.5. spec.instanceSpec.noAllowRedirect 可以控制是否禁止重定向,布尔类型,选填,仅对探测方式 `http_get` 和 `http_post` 生效,true 表示禁止重定向,可直接不填,默认为 false
110
- 3.6. spec.instanceSpec.insecureSkipVerify 可以控制是否禁用目标证书验证,布尔类型,选填,仅对探测方式 `http_get` 和 `http_post` 生效,true 表示禁用目标证书验证,可直接不填,默认为 false
111
- 3.7. spec.instanceSpec.headers 用于在探测目标时添加 header,键值对类型,选填,仅对探测方式 `http_get` 和 `http_post` 生效
112
- 3.8. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
113
- 3.9. spec.scrapeSpec.interval 用于自定义探测间隔,选填,默认是 15s
101
+ 3.2. kind 是集成类型,必填且这里固定为 `kafka-exporter`
102
+ 3.3. spec.instanceSpec.servers Kafka 实例的地址,必填,可填写多个,建议一个实例一个集成
103
+ 3.4. spec.instanceSpec.version Kafka 实例的版本,选填,部分版本不填写会报错,比如 0.10.2.0
104
+ 3.5. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
105
+ 3.6. spec.exporterSpec.topicFilter 用于过滤 topic,可不填,默认全部采集。填写正则表达式后,只采集符合条件的 topic
106
+ 3.7. spec.exporterSpec.groupFilter 用于过滤 group,可不填,默认全部采集。填写正则表达式后,只采集符合条件的 group
114
107
 
115
108
  Input:
116
109
 
117
110
  ```
118
111
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
119
112
  --InstanceId prom-1 \
120
- --Kind blackbox-exporter \
121
- --Content {"name":"test","kind":"blackbox-exporter","spec":{"instanceSpec":{"module":"http_get","urls":["host:port","http://abc","https://abc"],"noAllowRedirect":false,"insecureSkipVerify":true,"headers":{"Authorization":"Basic <Credentials>","test":"test"},"labels":{"labelKey":"labelValue","test":"test"}},"scrapeSpec":{"interval":"15s"}}}
113
+ --Kind kafka-exporter \
114
+ --Content {"name":"kafka-test","kind":"kafka-exporter","spec":{"instanceSpec":{"servers":["127.0.0.1:8080"],"version":"0.10.2.0","labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"topicFilter":"topic.*","groupFilter":"group.*"}}}
122
115
  ```
123
116
 
124
117
  Output:
@@ -126,37 +119,34 @@ Output:
126
119
  {
127
120
  "Response": {
128
121
  "Names": [
129
- "test"
122
+ "kafka-test"
130
123
  ],
131
124
  "RequestId": "xyz"
132
125
  }
133
126
  }
134
127
  ```
135
128
 
136
- **Example 5: e. 创建 Ingress NGINX Controller 集成**
129
+ **Example 5: o. 创建 MySQL 集成**
137
130
 
138
- 采集关联集群中的 Ingress NGINX Controller
131
+ 安装 MySQL Exporter
139
132
  参数说明:
140
133
  1. InstanceId 是 Prometheus 实例 ID,必填
141
- 2. Kind 参数固定为 `nginx-ingress`,必填
142
- 3. ClusterId 是与 Prometheus 实例关联且部署了 Ingress NGINX Controller 的集群 ID,必填
143
- 4. KubeType 是 ClusterId 对应的集群类型,必填。1 表示 tke 集群,2 或 3 表示 eks 集群
144
- 5. Content 参数格式如示例。说明如下:
145
- 5.1. kind 是集成类型,必填且这里固定为 `nginx-ingress`
146
- 5.2. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
147
- 5.3. spec.instanceSpec.namespaceIngress NGINX Controller 所在的 namespace,必填
148
- 5.4. spec.instanceSpec.name 是 Ingress NGINX Controller 的名字,必填。取 Deployment 或 DaemonSet 的名字
149
- 5.5. spec.instanceSpec.workload 是 Ingress NGINX Controller 的集群对象类型,必填,比如 deployment 或者 daemonset
134
+ 2. Kind 参数固定为 `mysql-exporter`,必填
135
+ 3. Content 参数格式如示例。说明如下:
136
+ 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
137
+ 3.2. kind 是集成类型,必填且这里固定为 `mysql-exporter`
138
+ 3.3. spec.instanceSpec.user MySQL 实例的用户名称,必填
139
+ 3.4. spec.instanceSpec.password 是 MySQL 实例的密码,必填
140
+ 3.5. spec.instanceSpec.addressMySQL 实例的连接地址,必填
141
+ 3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
150
142
 
151
143
  Input:
152
144
 
153
145
  ```
154
146
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
155
147
  --InstanceId prom-1 \
156
- --ClusterId cls-test \
157
- --KubeType 1 \
158
- --Kind nginx-ingress \
159
- --Content {"kind":"nginx-ingress","name":"ingress-test","spec":{"instanceSpec":{"namespace":"namespace","name":"controller-name","workLoad":"deployment"}}}
148
+ --Kind mysql-exporter \
149
+ --Content {"name":"mysql-test","kind":"mysql-exporter","spec":{"instanceSpec":{"user":"root","password":"password","address":"127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
160
150
  ```
161
151
 
162
152
  Output:
@@ -164,29 +154,33 @@ Output:
164
154
  {
165
155
  "Response": {
166
156
  "Names": [
167
- "ingress-test"
157
+ "mysql-test"
168
158
  ],
169
159
  "RequestId": "xyz"
170
160
  }
171
161
  }
172
162
  ```
173
163
 
174
- **Example 6: f. 创建 Cdwch 集成**
164
+ **Example 6: q. 创建 Redis 集成**
175
165
 
166
+ 安装 Redis Exporter。
176
167
  参数说明:
177
168
  1. InstanceId 是 Prometheus 实例 ID,必填
178
- 2. Kind 参数固定为 `cdwch-exporter`,必填
169
+ 2. Kind 参数固定为 `redis-exporter`,必填
179
170
  3. Content 参数格式如示例。说明如下:
180
- 3.1. kind 是集成类型,必填且这里固定为 `cdwch-exporter`
181
- 3.2. spec.job 是抓取配置,必填,yaml格式,建议参考输入示例,仅需修改任务名和实例 ID
171
+ 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
172
+ 3.2. kind 是集成类型,必填且这里固定为 `redis-exporter`
173
+ 3.3. spec.instanceSpec.address 是 Redis 实例的连接地址,必填
174
+ 3.4. spec.instanceSpec.password 是 Redis 实例的密码,必填
175
+ 3.5. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
182
176
 
183
177
  Input:
184
178
 
185
179
  ```
186
180
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
187
181
  --InstanceId prom-1 \
188
- --Kind cdwch-exporter \
189
- --Content {"kind":"cdwch-exporter","spec":{"job":"job_name: cdwch-example-job\nmetrics_path: /metrics\ncdwch_sd_configs:\n- region: ap-guangzhou\n instance_ids: \n - cdwch-test\nrelabel_configs:\n- regex: __meta_cdwch_(.*)\n replacement: $1\n action: labelmap"}}
182
+ --Kind redis-exporter \
183
+ --Content {"name":"redis-test","kind":"redis-exporter","spec":{"instanceSpec":{"address":"127.0.0.1:8080","password":"password","labels":{"labelKey":"labelValue","test":"test"}}}}
190
184
  ```
191
185
 
192
186
  Output:
@@ -194,29 +188,32 @@ Output:
194
188
  {
195
189
  "Response": {
196
190
  "Names": [
197
- "cdwch-example-job"
191
+ "redis-test"
198
192
  ],
199
193
  "RequestId": "xyz"
200
194
  }
201
195
  }
202
196
  ```
203
197
 
204
- **Example 7: g. 创建 EMR 集成**
198
+ **Example 7: i. 创建 Consul 集成**
205
199
 
200
+ 安装 Consul Exporter。
206
201
  参数说明:
207
202
  1. InstanceId 是 Prometheus 实例 ID,必填
208
- 2. Kind 参数固定为 `emr-exporter`,必填
203
+ 2. Kind 参数固定为 `consul-exporter`,必填
209
204
  3. Content 参数格式如示例。说明如下:
210
- 4.1. kind 是集成类型,必填且这里固定为 `emr-exporter`
211
- 4.2. spec.job 是抓取配置,必填,yaml格式,具体可参考[EMR 接入文档](https://cloud.tencent.com/document/product/1416/92850#cb099aba-2dd3-42e6-bc10-69db3999a5a8)
205
+ 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
206
+ 3.2. kind 是集成类型,必填且这里固定为 `consul-exporter`
207
+ 3.3. spec.instanceSpec.server 是 Consul 实例的地址,必填
208
+ 3.4. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
212
209
 
213
210
  Input:
214
211
 
215
212
  ```
216
213
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
217
214
  --InstanceId prom-1 \
218
- --Kind emr-exporter \
219
- --Content {"kind":"emr-exporter","spec":{"job":"job_name: emr-example-job\nmetrics_path: /metrics\nemr_sd_configs:\n- region: ap-guangzhou\n instance_ids: \n - emr-test\nrelabel_configs:\n- regex: __meta_emr_(.*)\n replacement: $1\n action: labelmap"}}
215
+ --Kind consul-exporter \
216
+ --Content {"name":"consul-test","kind":"consul-exporter","spec":{"instanceSpec":{"server":"1.1.1.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
220
217
  ```
221
218
 
222
219
  Output:
@@ -224,31 +221,35 @@ Output:
224
221
  {
225
222
  "Response": {
226
223
  "Names": [
227
- "emr-example-job"
224
+ "consul-test"
228
225
  ],
229
226
  "RequestId": "xyz"
230
227
  }
231
228
  }
232
229
  ```
233
230
 
234
- **Example 8: h. 创建 抓取任务**
231
+ **Example 8: n. 创建 MongoDB 集成**
235
232
 
236
- 安装 免鉴权代理,可以免鉴权内网访问 Prometheus 原生 API
237
- 创建后可以调用 DescribeExporterIntegrations 接口,通过 InstanceDesc 参数获取集成的内网 IP:Port 地址,该地址可以代替 Prometheus 实例地址,实现免鉴权访问。
233
+ 安装 MongoDB Exporter
238
234
  参数说明:
239
235
  1. InstanceId 是 Prometheus 实例 ID,必填
240
- 2. Kind 参数固定为 `raw-job`,必填
236
+ 2. Kind 参数固定为 `mongodb-exporter`,必填
241
237
  3. Content 参数格式如示例。说明如下:
242
- 3.1. kind 是集成类型,必填且这里固定为 `raw-job`
243
- 3.2. spec.spec.job Prometheus 原生抓取配置,yaml格式,必填。可参考[配置说明文档](https://cloud.tencent.com/document/product/1416/55995#.E5.8E.9F.E7.94.9F-job-.E9.85.8D.E7.BD.AE)
238
+ 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
239
+ 3.2. kind 是集成类型,必填且这里固定为 `mongodb-exporter`
240
+ 3.3. spec.instanceSpec.user 是 MongoDB 实例的用户名称,必填
241
+ 3.4. spec.instanceSpec.password 是 MongoDB 实例的密码,必填
242
+ 3.5. spec.instanceSpec.servers 是 MongoDB 实例的连接地址,必填,可填写多个,逗号分隔
243
+ 3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
244
+ 3.7. spec.exporterSpec.collectors 是 exporter 的采集配置,选填,字符串数组,示例中展示了所有可填写的值。其中`database` 表示启用数据库指标的采集,`collection`表示启用集合指标的采集,`topmetrics`表示启用数据库表头指标信息的采集,`indexusage`表示启用索引使用统计信息的采集,`connpoolstats`表示启用连接池统计信息的采集
244
245
 
245
246
  Input:
246
247
 
247
248
  ```
248
249
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
249
250
  --InstanceId prom-1 \
250
- --Kind raw-job \
251
- --Content {"kind":"raw-job","spec":{"job":"job_name: test\nscrape_interval: 30s\nstatic_configs:\n- targets:\n - 127.0.0.1:9090"}}
251
+ --Kind mongodb-exporter \
252
+ --Content {"name":"mongodb-test","kind":"mongodb-exporter","spec":{"instanceSpec":{"user":"root","password":"password","servers":["127.0.0.1:8080","127.0.0.2:8080"],"labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"collectors":["database","collection","topmetrics","indexusage","connpoolstats"]}}}
252
253
  ```
253
254
 
254
255
  Output:
@@ -256,32 +257,33 @@ Output:
256
257
  {
257
258
  "Response": {
258
259
  "Names": [
259
- "test"
260
+ "mongodb-test"
260
261
  ],
261
262
  "RequestId": "xyz"
262
263
  }
263
264
  }
264
265
  ```
265
266
 
266
- **Example 9: i. 创建 Consul 集成**
267
+ **Example 9: l. 创建 RocketMQ 集成**
267
268
 
268
- 安装 Consul Exporter。
269
+ 安装 RocketMQ Exporter。
269
270
  参数说明:
270
271
  1. InstanceId 是 Prometheus 实例 ID,必填
271
- 2. Kind 参数固定为 `consul-exporter`,必填
272
+ 2. Kind 参数固定为 `rocketmq-exporter`,必填
272
273
  3. Content 参数格式如示例。说明如下:
273
274
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
274
- 3.2. kind 是集成类型,必填且这里固定为 `consul-exporter`
275
- 3.3. spec.instanceSpec.serverConsul 实例的地址,必填
276
- 3.4. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
275
+ 3.2. kind 是集成类型,必填且这里固定为 `rocketmq-exporter`
276
+ 3.3. spec.instanceSpec.addressRocketMQ 实例的地址,必填,可填写多个,用分号分割
277
+ 3.4. spec.instanceSpec.version 是 RocketMQ 实例的版本,必填,比如 V4_9_4
278
+ 3.5. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
277
279
 
278
280
  Input:
279
281
 
280
282
  ```
281
283
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
282
284
  --InstanceId prom-1 \
283
- --Kind consul-exporter \
284
- --Content {"name":"consul-test","kind":"consul-exporter","spec":{"instanceSpec":{"server":"1.1.1.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
285
+ --Kind rocketmq-exporter \
286
+ --Content {"name":"rocketmq-test","kind":"rocketmq-exporter","spec":{"instanceSpec":{"address":"127.0.0.1:8080;127.0.0.2:8080","version":"V4_9_4","labels":{"labelKey":"labelValue","test":"test"}}}}
285
287
  ```
286
288
 
287
289
  Output:
@@ -289,40 +291,33 @@ Output:
289
291
  {
290
292
  "Response": {
291
293
  "Names": [
292
- "consul-test"
294
+ "rocketmq-test"
293
295
  ],
294
296
  "RequestId": "xyz"
295
297
  }
296
298
  }
297
299
  ```
298
300
 
299
- **Example 10: j. 创建 ElasticSearch 集成**
301
+ **Example 10: r. 创建 Graphite 集成**
300
302
 
301
- 安装 ElasticSearch Exporter
303
+ 安装 Graphite Exporter,可以将 Graphite 指标转为 Prometheus 指标。
304
+ 创建后可以调用 DescribeExporterIntegrations 接口,通过 InstanceDesc 参数获取集成的内网 IP:Port 地址。
302
305
  参数说明:
303
306
  1. InstanceId 是 Prometheus 实例 ID,必填
304
- 2. Kind 参数固定为 `es-exporter`,必填
307
+ 2. Kind 参数固定为 `graphite-exporter`,必填
305
308
  3. Content 参数格式如示例。说明如下:
306
309
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
307
- 3.2. kind 是集成类型,必填且这里固定为 `es-exporter`
308
- 3.3. spec.instanceSpec.user ElasticSearch 的用户名称,必填
309
- 3.4. spec.instanceSpec.password ElasticSearch 的密码,必填
310
- 3.5. spec.instanceSpec.url 是 ElasticSearch 的连接地址,必填
311
- 3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
312
- 3.7. spec.exporterSpec.all 表示是否查询集群中所有节点的统计信息,布尔类型,选填,默认值为 false。false 则仅查询连接的节点的统计信息
313
- 3.8. spec.exporterSpec.indices 表示是否查询集群中所有索引的统计信息,布尔类型,选填,默认值为 false
314
- 3.9. spec.exporterSpec.indicesSettings 表示是否查询集群中所有索引配置的统计信息,布尔类型,选填,默认值为 false
315
- 3.10. spec.exporterSpec.shards 表示是否查询集群中所有索引的统计信息,包括分片级别的统计信息,布尔类型,选填,默认值为 false。
316
- 3.11. spec.exporterSpec.snapshots 表示是否查询集群快照的统计信息,布尔类型,选填,默认值为 false
317
- 3.12. spec.exporterSpec.clusterSettings 表示是否查询集群配置的统计信息,布尔类型,选填,默认值为false
310
+ 3.2. kind 是集成类型,必填且这里固定为 `graphite-exporter`
311
+ 3.3. spec.instanceSpec.isStrictMatch 表示是否严格匹配 mappingConfig,选填,默认是 false
312
+ 3.4. spec.instanceSpec.mappingConfig 是映射配置,可以定义 Prometheus 指标的名字和 label。具体可参考[官方文档](https://github.com/prometheus/graphite_exporter#yaml-config)
318
313
 
319
314
  Input:
320
315
 
321
316
  ```
322
317
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
323
318
  --InstanceId prom-1 \
324
- --Kind es-exporter \
325
- --Content {"name":"es-test","kind":"es-exporter","spec":{"instanceSpec":{"user":"root","password":"password","url":"http://127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"all":true,"indices":true,"indicesSettings":true,"shards":true,"snapshots":true,"clusterSettings":true}}}
319
+ --Kind graphite-exporter \
320
+ --Content {"name":"graphite-test","kind":"graphite-exporter","spec":{"instanceSpec":{"isStrictMatch":true,"mappingConfig":"mappings:\n- match: test.dispatcher.*.*.*\n name: dispatcher_events_total\n labels:\n action: $2\n job: test_dispatcher\n outcome: $3\n processor: $1\n- match: \"*.signup.*.*\"\n name: signup_events_total\n labels:\n job: ${1}_server\n outcome: $3\n provider: $2\n- match: \"servers.(.*).networking.subnetworks.transmissions.([a-z0-9-]+).(.*)\"\n match_type: regex\n name: \"servers_networking_transmissions_${3}\"\n labels: \n hostname: ${1}\n device: ${2}"}}}
326
321
  ```
327
322
 
328
323
  Output:
@@ -330,35 +325,36 @@ Output:
330
325
  {
331
326
  "Response": {
332
327
  "Names": [
333
- "es-test"
328
+ "graphite-test"
334
329
  ],
335
330
  "RequestId": "xyz"
336
331
  }
337
332
  }
338
333
  ```
339
334
 
340
- **Example 11: k. 创建 Kafka 集成**
335
+ **Example 11: a. 创建 云监控 集成**
341
336
 
342
- 安装 kafka Exporter。
343
337
  参数说明:
344
338
  1. InstanceId 是 Prometheus 实例 ID,必填
345
- 2. Kind 参数固定为 `kafka-exporter`,必填
339
+ 2. Kind 参数固定为 `qcloud-exporter`,必填
346
340
  3. Content 参数格式如示例。说明如下:
347
341
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
348
- 3.2. kind 是集成类型,必填且这里固定为 `kafka-exporter`
349
- 3.3. spec.instanceSpec.servers Kafka 实例的地址,必填,可填写多个,建议一个实例一个集成
350
- 3.4. spec.instanceSpec.version Kafka 实例的版本,选填,部分版本不填写会报错,比如 0.10.2.0
351
- 3.5. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
352
- 3.6. spec.exporterSpec.topicFilter 用于过滤 topic,可不填,默认全部采集。填写正则表达式后,只采集符合条件的 topic
353
- 3.7. spec.exporterSpec.groupFilter 用于过滤 group,可不填,默认全部采集。填写正则表达式后,只采集符合条件的 group
342
+ 3.2. kind 是集成类型,必填且这里固定为 `qcloud-exporter`
343
+ 3.3. spec.instanceSpec.region 是云产品所在地域,必填,比如采集广州地域的云产品,可以填 `广州` 或 `ap-guangzhou`,该参数最终会转化为指标的 label, 名为 `instance-region`
344
+ 3.4. spec.instanceSpec.delaySeconds 表示数据采集延迟,整数,单位是秒,可不填,默认是 0。当值为 0 时,原始数据点的时间戳会被忽略,替换为集成拉取到数据点的时间;当值 >0 时,数据点会保留原始的时间戳,且数据必然会延迟设置的时间
345
+ 3.5. spec.instanceSpec.reload_interval_minutes 表示实例刷新间隔,整数,单位是分钟,必填且必须大于等于 10。云产品实例的新增或者云标签的修改,会在刷新实例后反映在指标中,至多需要等待一个实例刷新间隔
346
+ 3.6. spec.instanceSpec.useRole 表示是否使用服务角色,布尔类型,必填。当前逻辑一定会使用服务角色,所以必填 `true`
347
+ 3.7. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
348
+ 3.8. spec.exporterSpec.[云产品] 表示是否采集对应云产品,布尔类型,`true` 表示采集该云产品。云产品各编码指代含义:`cvm`:云服务器,`cbs`:云硬盘,`lb_public`:负载均衡(公网),`lb_private`:负载均衡(内网),`tgw_set`:负载均衡(独占集群),`cmongo`:数据库MongoDB,`cdb`:数据库MySQL(CDB),`redis`:数据库Redis(CKV版),`redis_mem`:数据库Redis(内存版),`tendis`:Tendis,`xstor`:CTSDB(InfluxDB版),`mariadb`:数据库MariaDB,`postgres`:数据库PostgreSQL,`tdmysql`:TDSQL MySQL版,`cynosdb_mysql`:TDSQL-C MySQL,`sqlserver`:数据库SQL Server,`nat_gateway`:NAT网关,`ckafka`:CKafka,`rocketmq`:RocketMQ(新指标),`lb`:弹性公网IP,`vpngw`:VPN网关,`vpnx`:VPN通道,`vpc_net_detect`:网络探测,`cdn`:CDN,`ov_cdn`:CND(海外),`cos`:COS,`dc`:专线接入-物理专线,`dcx`:专线接入-专用通道,`dcg`:专线接入-专线网关,`lighthouse`:轻量应用服务器,`nacos`:Nacos,`zookeeper`:Zookeeper,`ces`:Elasticsearch,`dts`:数据传输服务,`vbc`:云联网,`gaap`:全球应用加速,`waf`:Web应用防火墙,`cfs`:文件存储,`bwp`:共享带宽包,`scf_v2`:云函数(别名),`vod`:云点播(VOD),`cls`:日志服务(CLS)-日志主题,`apigateway`:API 网关,`ti_traintask`:TI-ONE(任务式建模),`ti_notebook`:TI-ONE(Notebook),`ti_model`:TI-ONE(在线服务),`self`:采集器自监控
349
+ 2.9. spec.scrapeSpec.relabelConfigs 用于添加 `metricRelabelings` 配置,选填。该配置是 prometheus-operator 的 relabel 配置,部分字段与 prometheus 原生 relabel 配置不同,具体可参考[官方配置说明](https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.RelabelConfig)
354
350
 
355
351
  Input:
356
352
 
357
353
  ```
358
354
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
359
355
  --InstanceId prom-1 \
360
- --Kind kafka-exporter \
361
- --Content {"name":"kafka-test","kind":"kafka-exporter","spec":{"instanceSpec":{"servers":["127.0.0.1:8080"],"version":"0.10.2.0","labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"topicFilter":"topic.*","groupFilter":"group.*"}}}
356
+ --Kind qcloud-exporter \
357
+ --Content {"name":"test","kind":"qcloud-exporter","spec":{"instanceSpec":{"region":"广州","delaySeconds":0,"reload_interval_minutes":10,"useRole":true,"labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"cvm":true,"cbs":true},"scrapeSpec":{"relabelConfigs":"metricRelabelings:\n- action: labeldrop\n regex: tmp_test_label\n"}}}
362
358
  ```
363
359
 
364
360
  Output:
@@ -366,33 +362,32 @@ Output:
366
362
  {
367
363
  "Response": {
368
364
  "Names": [
369
- "kafka-test"
365
+ "test"
370
366
  ],
371
367
  "RequestId": "xyz"
372
368
  }
373
369
  }
374
370
  ```
375
371
 
376
- **Example 12: l. 创建 RocketMQ 集成**
372
+ **Example 12: m. 创建 Memcached 集成**
377
373
 
378
- 安装 RocketMQ Exporter。
374
+ 安装 Memcached Exporter。
379
375
  参数说明:
380
376
  1. InstanceId 是 Prometheus 实例 ID,必填
381
- 2. Kind 参数固定为 `rocketmq-exporter`,必填
377
+ 2. Kind 参数固定为 `memcached-exporter`,必填
382
378
  3. Content 参数格式如示例。说明如下:
383
379
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
384
- 3.2. kind 是集成类型,必填且这里固定为 `rocketmq-exporter`
385
- 3.3. spec.instanceSpec.address 是 RocketMQ 实例的地址,必填,可填写多个,用分号分割
386
- 3.4. spec.instanceSpec.version 是 RocketMQ 实例的版本,必填,比如 V4_9_4
387
- 3.5. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
380
+ 3.2. kind 是集成类型,必填且这里固定为 `memcached-exporter`
381
+ 3.3. spec.instanceSpec.address 是 Memcached 实例的地址,必填
382
+ 3.4. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
388
383
 
389
384
  Input:
390
385
 
391
386
  ```
392
387
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
393
388
  --InstanceId prom-1 \
394
- --Kind rocketmq-exporter \
395
- --Content {"name":"rocketmq-test","kind":"rocketmq-exporter","spec":{"instanceSpec":{"address":"127.0.0.1:8080;127.0.0.2:8080","version":"V4_9_4","labels":{"labelKey":"labelValue","test":"test"}}}}
389
+ --Kind memcached-exporter \
390
+ --Content {"name":"memcached-test","kind":"memcached-exporter","spec":{"instanceSpec":{"address":"127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
396
391
  ```
397
392
 
398
393
  Output:
@@ -400,32 +395,34 @@ Output:
400
395
  {
401
396
  "Response": {
402
397
  "Names": [
403
- "rocketmq-test"
398
+ "memcached-test"
404
399
  ],
405
400
  "RequestId": "xyz"
406
401
  }
407
402
  }
408
403
  ```
409
404
 
410
- **Example 13: m. 创建 Memcached 集成**
405
+ **Example 13: p. 创建 PostgreSQL 集成**
411
406
 
412
- 安装 Memcached Exporter。
407
+ 安装 PostgreSQL Exporter。
413
408
  参数说明:
414
409
  1. InstanceId 是 Prometheus 实例 ID,必填
415
- 2. Kind 参数固定为 `memcached-exporter`,必填
410
+ 2. Kind 参数固定为 `postgres-exporter`,必填
416
411
  3. Content 参数格式如示例。说明如下:
417
412
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
418
- 3.2. kind 是集成类型,必填且这里固定为 `memcached-exporter`
419
- 3.3. spec.instanceSpec.addressMemcached 实例的地址,必填
420
- 3.4. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
413
+ 3.2. kind 是集成类型,必填且这里固定为 `postgres-exporter`
414
+ 3.3. spec.instanceSpec.userPostgreSQL 实例的用户名称,必填
415
+ 3.4. spec.instanceSpec.password 是 PostgreSQL 实例的密码,必填
416
+ 3.5. spec.instanceSpec.address 是 PostgreSQL 实例的连接地址,必填
417
+ 3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
421
418
 
422
419
  Input:
423
420
 
424
421
  ```
425
422
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
426
423
  --InstanceId prom-1 \
427
- --Kind memcached-exporter \
428
- --Content {"name":"memcached-test","kind":"memcached-exporter","spec":{"instanceSpec":{"address":"127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
424
+ --Kind postgres-exporter \
425
+ --Content {"name":"postgresql-test","kind":"postgres-exporter","spec":{"instanceSpec":{"user":"user","password":"password","address":"127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
429
426
  ```
430
427
 
431
428
  Output:
@@ -433,35 +430,36 @@ Output:
433
430
  {
434
431
  "Response": {
435
432
  "Names": [
436
- "memcached-test"
433
+ "postgresql-test"
437
434
  ],
438
435
  "RequestId": "xyz"
439
436
  }
440
437
  }
441
438
  ```
442
439
 
443
- **Example 14: n. 创建 MongoDB 集成**
440
+ **Example 14: d. 创建 健康巡检 集成**
444
441
 
445
- 安装 MongoDB Exporter。
446
442
  参数说明:
447
443
  1. InstanceId 是 Prometheus 实例 ID,必填
448
- 2. Kind 参数固定为 `mongodb-exporter`,必填
444
+ 2. Kind 参数固定为 `blackbox-exporter`,必填
449
445
  3. Content 参数格式如示例。说明如下:
450
446
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
451
- 3.2. kind 是集成类型,必填且这里固定为 `mongodb-exporter`
452
- 3.3. spec.instanceSpec.user MongoDB 实例的用户名称,必填
453
- 3.4. spec.instanceSpec.password MongoDB 实例的密码,必填
454
- 3.5. spec.instanceSpec.servers MongoDB 实例的连接地址,必填,可填写多个,逗号分隔
455
- 3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
456
- 3.7. spec.exporterSpec.collectors exporter 的采集配置,选填,字符串数组,示例中展示了所有可填写的值。其中`database` 表示启用数据库指标的采集,`collection`表示启用集合指标的采集,`topmetrics`表示启用数据库表头指标信息的采集,`indexusage`表示启用索引使用统计信息的采集,`connpoolstats`表示启用连接池统计信息的采集
447
+ 3.2. kind 是集成类型,必填且这里固定为 `blackbox-exporter`
448
+ 3.3. spec.instanceSpec.module 是探测方式,必填,可选值为 `http_get`、`http_post`、`tcp`、`ssh`、`ping`
449
+ 3.4. spec.instanceSpec.urls 是探测目标,字符串数组,必填,目标格式可以是 host:port 或 http://abc 或 https://abc
450
+ 3.5. spec.instanceSpec.noAllowRedirect 可以控制是否禁止重定向,布尔类型,选填,仅对探测方式 `http_get` 和 `http_post` 生效,true 表示禁止重定向,可直接不填,默认为 false
451
+ 3.6. spec.instanceSpec.insecureSkipVerify 可以控制是否禁用目标证书验证,布尔类型,选填,仅对探测方式 `http_get` 和 `http_post` 生效,true 表示禁用目标证书验证,可直接不填,默认为 false
452
+ 3.7. spec.instanceSpec.headers 用于在探测目标时添加 header,键值对类型,选填,仅对探测方式 `http_get` 和 `http_post` 生效
453
+ 3.8. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
454
+ 3.9. spec.scrapeSpec.interval 用于自定义探测间隔,选填,默认是 15s
457
455
 
458
456
  Input:
459
457
 
460
458
  ```
461
459
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
462
460
  --InstanceId prom-1 \
463
- --Kind mongodb-exporter \
464
- --Content {"name":"mongodb-test","kind":"mongodb-exporter","spec":{"instanceSpec":{"user":"root","password":"password","servers":["127.0.0.1:8080","127.0.0.2:8080"],"labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"collectors":["database","collection","topmetrics","indexusage","connpoolstats"]}}}
461
+ --Kind blackbox-exporter \
462
+ --Content {"name":"test","kind":"blackbox-exporter","spec":{"instanceSpec":{"module":"http_get","urls":["host:port","http://abc","https://abc"],"noAllowRedirect":false,"insecureSkipVerify":true,"headers":{"Authorization":"Basic <Credentials>","test":"test"},"labels":{"labelKey":"labelValue","test":"test"}},"scrapeSpec":{"interval":"15s"}}}
465
463
  ```
466
464
 
467
465
  Output:
@@ -469,34 +467,40 @@ Output:
469
467
  {
470
468
  "Response": {
471
469
  "Names": [
472
- "mongodb-test"
470
+ "test"
473
471
  ],
474
472
  "RequestId": "xyz"
475
473
  }
476
474
  }
477
475
  ```
478
476
 
479
- **Example 15: o. 创建 MySQL 集成**
477
+ **Example 15: j. 创建 ElasticSearch 集成**
480
478
 
481
- 安装 MySQL Exporter。
479
+ 安装 ElasticSearch Exporter。
482
480
  参数说明:
483
481
  1. InstanceId 是 Prometheus 实例 ID,必填
484
- 2. Kind 参数固定为 `mysql-exporter`,必填
482
+ 2. Kind 参数固定为 `es-exporter`,必填
485
483
  3. Content 参数格式如示例。说明如下:
486
484
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
487
- 3.2. kind 是集成类型,必填且这里固定为 `mysql-exporter`
488
- 3.3. spec.instanceSpec.user 是 MySQL 实例的用户名称,必填
489
- 3.4. spec.instanceSpec.password 是 MySQL 实例的密码,必填
490
- 3.5. spec.instanceSpec.addressMySQL 实例的连接地址,必填
485
+ 3.2. kind 是集成类型,必填且这里固定为 `es-exporter`
486
+ 3.3. spec.instanceSpec.user 是 ElasticSearch 的用户名称,必填
487
+ 3.4. spec.instanceSpec.password 是 ElasticSearch 的密码,必填
488
+ 3.5. spec.instanceSpec.urlElasticSearch 的连接地址,必填
491
489
  3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
490
+ 3.7. spec.exporterSpec.all 表示是否查询集群中所有节点的统计信息,布尔类型,选填,默认值为 false。false 则仅查询连接的节点的统计信息
491
+ 3.8. spec.exporterSpec.indices 表示是否查询集群中所有索引的统计信息,布尔类型,选填,默认值为 false
492
+ 3.9. spec.exporterSpec.indicesSettings 表示是否查询集群中所有索引配置的统计信息,布尔类型,选填,默认值为 false
493
+ 3.10. spec.exporterSpec.shards 表示是否查询集群中所有索引的统计信息,包括分片级别的统计信息,布尔类型,选填,默认值为 false。
494
+ 3.11. spec.exporterSpec.snapshots 表示是否查询集群快照的统计信息,布尔类型,选填,默认值为 false
495
+ 3.12. spec.exporterSpec.clusterSettings 表示是否查询集群配置的统计信息,布尔类型,选填,默认值为false
492
496
 
493
497
  Input:
494
498
 
495
499
  ```
496
500
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
497
501
  --InstanceId prom-1 \
498
- --Kind mysql-exporter \
499
- --Content {"name":"mysql-test","kind":"mysql-exporter","spec":{"instanceSpec":{"user":"root","password":"password","address":"127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
502
+ --Kind es-exporter \
503
+ --Content {"name":"es-test","kind":"es-exporter","spec":{"instanceSpec":{"user":"root","password":"password","url":"http://127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}},"exporterSpec":{"all":true,"indices":true,"indicesSettings":true,"shards":true,"snapshots":true,"clusterSettings":true}}}
500
504
  ```
501
505
 
502
506
  Output:
@@ -504,34 +508,32 @@ Output:
504
508
  {
505
509
  "Response": {
506
510
  "Names": [
507
- "mysql-test"
511
+ "es-test"
508
512
  ],
509
513
  "RequestId": "xyz"
510
514
  }
511
515
  }
512
516
  ```
513
517
 
514
- **Example 16: p. 创建 PostgreSQL 集成**
518
+ **Example 16: s. 创建 免鉴权代理 集成**
515
519
 
516
- 安装 PostgreSQL Exporter
520
+ 安装 免鉴权代理,可以免鉴权内网访问 Prometheus 原生 API
521
+ 创建后可以调用 DescribeExporterIntegrations 接口,通过 InstanceDesc 参数获取集成的内网 IP:Port 地址,该地址可以代替 Prometheus 实例地址,实现免鉴权访问。
517
522
  参数说明:
518
523
  1. InstanceId 是 Prometheus 实例 ID,必填
519
- 2. Kind 参数固定为 `postgres-exporter`,必填
524
+ 2. Kind 参数固定为 `auth-proxy`,必填
520
525
  3. Content 参数格式如示例。说明如下:
521
526
  3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
522
- 3.2. kind 是集成类型,必填且这里固定为 `postgres-exporter`
523
- 3.3. spec.instanceSpec.user PostgreSQL 实例的用户名称,必填
524
- 3.4. spec.instanceSpec.password 是 PostgreSQL 实例的密码,必填
525
- 3.5. spec.instanceSpec.address 是 PostgreSQL 实例的连接地址,必填
526
- 3.6. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
527
+ 3.2. kind 是集成类型,必填且这里固定为 `auth-proxy`
528
+ 3.3. spec.instanceSpec.enableSelfMonitor 表示是否采集自监控指标,选填,默认是 false。自监控指标是 auth_proxy_http_requests_total{result=~"success|error"},仅统计成功和失败的请求数量。
527
529
 
528
530
  Input:
529
531
 
530
532
  ```
531
533
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
532
534
  --InstanceId prom-1 \
533
- --Kind postgres-exporter \
534
- --Content {"name":"postgresql-test","kind":"postgres-exporter","spec":{"instanceSpec":{"user":"user","password":"password","address":"127.0.0.1:8080","labels":{"labelKey":"labelValue","test":"test"}}}}
535
+ --Kind auth-proxy \
536
+ --Content {"name":"auth-test","kind":"auth-proxy","spec":{"instanceSpec":{"enableSelfMonitor":true}}}
535
537
  ```
536
538
 
537
539
  Output:
@@ -539,33 +541,29 @@ Output:
539
541
  {
540
542
  "Response": {
541
543
  "Names": [
542
- "postgresql-test"
544
+ "auth-test"
543
545
  ],
544
546
  "RequestId": "xyz"
545
547
  }
546
548
  }
547
549
  ```
548
550
 
549
- **Example 17: q. 创建 Redis 集成**
551
+ **Example 17: c. 创建 CVM 云服务器 集成**
550
552
 
551
- 安装 Redis Exporter。
552
553
  参数说明:
553
554
  1. InstanceId 是 Prometheus 实例 ID,必填
554
- 2. Kind 参数固定为 `redis-exporter`,必填
555
+ 2. Kind 参数固定为 `cvm-http-sd-exporter`,必填
555
556
  3. Content 参数格式如示例。说明如下:
556
- 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
557
- 3.2. kind 是集成类型,必填且这里固定为 `redis-exporter`
558
- 3.3. spec.instanceSpec.address 是 Redis 实例的连接地址,必填
559
- 3.4. spec.instanceSpec.password 是 Redis 实例的密码,必填
560
- 3.5. spec.instanceSpec.labels 用于给指标添加自定义标签,键值对类型,选填
557
+ 3.1. kind 是集成类型,必填且这里固定为 `cvm-http-sd-exporter`
558
+ 3.2. spec.job 是抓取配置,必填,yaml格式,具体配置可参考[抓取配置说明](https://cloud.tencent.com/document/product/1416/55995#%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%9C%8D%E5%8A%A1%E5%8F%91%E7%8E%B0%E9%85%8D%E7%BD%AE)
561
559
 
562
560
  Input:
563
561
 
564
562
  ```
565
563
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
566
564
  --InstanceId prom-1 \
567
- --Kind redis-exporter \
568
- --Content {"name":"redis-test","kind":"redis-exporter","spec":{"instanceSpec":{"address":"127.0.0.1:8080","password":"password","labels":{"labelKey":"labelValue","test":"test"}}}}
565
+ --Kind cvm-http-sd-exporter \
566
+ --Content {"kind":"cvm-http-sd-exporter","spec":{"job":"job_name: example-job-name\nmetrics_path: /metrics\ncvm_sd_configs:\n- region: ap-singapore\n ports:\n - 9100\n filters: \n - name: tag:示例标签键\n values: \n - 示例标签值\nrelabel_configs: \n- source_labels: [__meta_cvm_instance_state]\n regex: RUNNING\n action: keep\n- regex: __meta_cvm_tag_(.*)\n replacement: $1\n action: labelmap\n- source_labels: [__meta_cvm_region]\n target_label: region\n action: replace"}}
569
567
  ```
570
568
 
571
569
  Output:
@@ -573,33 +571,30 @@ Output:
573
571
  {
574
572
  "Response": {
575
573
  "Names": [
576
- "redis-test"
574
+ "example-job-name"
577
575
  ],
578
576
  "RequestId": "xyz"
579
577
  }
580
578
  }
581
579
  ```
582
580
 
583
- **Example 18: r. 创建 Graphite 集成**
581
+ **Example 18: b. 创建 CVM Node Exporter 集成**
584
582
 
585
- 安装 Graphite Exporter,可以将 Graphite 指标转为 Prometheus 指标。
586
- 创建后可以调用 DescribeExporterIntegrations 接口,通过 InstanceDesc 参数获取集成的内网 IP:Port 地址。
583
+ 该集成要保证 CVM 实例与 Prometheus 实例内网相通(比如同 VPC 下),且 CVM 实例安装了[自动化助手](https://cloud.tencent.com/document/product/1340/51945)。
587
584
  参数说明:
588
585
  1. InstanceId 是 Prometheus 实例 ID,必填
589
- 2. Kind 参数固定为 `graphite-exporter`,必填
586
+ 2. Kind 参数固定为 `cvm-node-exporter-sd`,必填
590
587
  3. Content 参数格式如示例。说明如下:
591
- 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
592
- 3.2. kind 是集成类型,必填且这里固定为 `graphite-exporter`
593
- 3.3. spec.instanceSpec.isStrictMatch 表示是否严格匹配 mappingConfig,选填,默认是 false
594
- 3.4. spec.instanceSpec.mappingConfig 是映射配置,可以定义 Prometheus 指标的名字和 label。具体可参考[官方文档](https://github.com/prometheus/graphite_exporter#yaml-config)
588
+ 3.1. kind 是集成类型,必填且这里固定为 `cvm-node-exporter-sd
589
+ 3.2. spec.job 是抓取配置,必填,yaml格式,可参考输入示例,其中 instance_ids 可填写多个 CVM 实例 ID
595
590
 
596
591
  Input:
597
592
 
598
593
  ```
599
594
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
600
595
  --InstanceId prom-1 \
601
- --Kind graphite-exporter \
602
- --Content {"name":"graphite-test","kind":"graphite-exporter","spec":{"instanceSpec":{"isStrictMatch":true,"mappingConfig":"mappings:\n- match: test.dispatcher.*.*.*\n name: dispatcher_events_total\n labels:\n action: $2\n job: test_dispatcher\n outcome: $3\n processor: $1\n- match: \"*.signup.*.*\"\n name: signup_events_total\n labels:\n job: ${1}_server\n outcome: $3\n provider: $2\n- match: \"servers.(.*).networking.subnetworks.transmissions.([a-z0-9-]+).(.*)\"\n match_type: regex\n name: \"servers_networking_transmissions_${3}\"\n labels: \n hostname: ${1}\n device: ${2}"}}}
596
+ --Kind cvm-node-exporter-sd \
597
+ --Content {"kind":"cvm-node-exporter-sd","spec":{"job":"job_name: node-test\ninstance:\n - region: ap-chengdu\n instance_ids:\n - ins-a\n - ins-b\n"}}
603
598
  ```
604
599
 
605
600
  Output:
@@ -607,32 +602,37 @@ Output:
607
602
  {
608
603
  "Response": {
609
604
  "Names": [
610
- "graphite-test"
605
+ "node-test"
611
606
  ],
612
607
  "RequestId": "xyz"
613
608
  }
614
609
  }
615
610
  ```
616
611
 
617
- **Example 19: s. 创建 免鉴权代理 集成**
612
+ **Example 19: e. 创建 Ingress NGINX Controller 集成**
618
613
 
619
- 安装 免鉴权代理,可以免鉴权内网访问 Prometheus 原生 API
620
- 创建后可以调用 DescribeExporterIntegrations 接口,通过 InstanceDesc 参数获取集成的内网 IP:Port 地址,该地址可以代替 Prometheus 实例地址,实现免鉴权访问。
614
+ 采集关联集群中的 Ingress NGINX Controller
621
615
  参数说明:
622
616
  1. InstanceId 是 Prometheus 实例 ID,必填
623
- 2. Kind 参数固定为 `auth-proxy`,必填
624
- 3. Content 参数格式如示例。说明如下:
625
- 3.1. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
626
- 3.2. kind 是集成类型,必填且这里固定为 `auth-proxy`
627
- 3.3. spec.instanceSpec.enableSelfMonitor 表示是否采集自监控指标,选填,默认是 false。自监控指标是 auth_proxy_http_requests_total{result=~"success|error"},仅统计成功和失败的请求数量。
617
+ 2. Kind 参数固定为 `nginx-ingress`,必填
618
+ 3. ClusterId 是与 Prometheus 实例关联且部署了 Ingress NGINX Controller 的集群 ID,必填
619
+ 4. KubeType 是 ClusterId 对应的集群类型,必填。1 表示 tke 集群,2 或 3 表示 eks 集群
620
+ 5. Content 参数格式如示例。说明如下:
621
+ 5.1. kind 是集成类型,必填且这里固定为 `nginx-ingress`
622
+ 5.2. name 是集成名,必填且全局唯一,需要符合正则表达式`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
623
+ 5.3. spec.instanceSpec.namespace 是 Ingress NGINX Controller 所在的 namespace,必填
624
+ 5.4. spec.instanceSpec.name 是 Ingress NGINX Controller 的名字,必填。取 Deployment 或 DaemonSet 的名字
625
+ 5.5. spec.instanceSpec.workload 是 Ingress NGINX Controller 的集群对象类型,必填,比如 deployment 或者 daemonset
628
626
 
629
627
  Input:
630
628
 
631
629
  ```
632
630
  tccli monitor CreateExporterIntegration --cli-unfold-argument \
633
631
  --InstanceId prom-1 \
634
- --Kind auth-proxy \
635
- --Content {"name":"auth-test","kind":"auth-proxy","spec":{"instanceSpec":{"enableSelfMonitor":true}}}
632
+ --ClusterId cls-test \
633
+ --KubeType 1 \
634
+ --Kind nginx-ingress \
635
+ --Content {"kind":"nginx-ingress","name":"ingress-test","spec":{"instanceSpec":{"namespace":"namespace","name":"controller-name","workLoad":"deployment"}}}
636
636
  ```
637
637
 
638
638
  Output:
@@ -640,7 +640,7 @@ Output:
640
640
  {
641
641
  "Response": {
642
642
  "Names": [
643
- "auth-test"
643
+ "ingress-test"
644
644
  ],
645
645
  "RequestId": "xyz"
646
646
  }