{"base_path":"/","components":null,"consumes":"","definitions":{"ErrorResp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"SupportMetricNameList":{"properties":{"support_metric_names":{"description":"支持指标名称列表","items":{"properties":{"datastore_type":{"description":"数据库类型","example":["MySQL","MariaDB","GaussDB(for MySQL)","DDM"],"items":{"type":"string"},"type":"array"},"description":{"description":"描述","example":"Number of slow SQL statements","type":"string"},"metric_name":{"description":"指标名称","example":"slow_queries","type":"string"},"unit":{"description":"单位","example":"count/min","type":"string"}}},"type":"array"}},"type":"object"}},"description":null,"group_id":"7f831fc0dd494cfe86eff0b79e4f207d","host":"das.cn-north-4.myhuaweicloud.com","id":"28be1965b0f646a19d4a6ea5c0bdb89c","info_version":"v3","method":"get","name":"ShowMetricNamesSupport","parameters":{},"paths":{"/v3/{project_id}/metric-names/support":{"get":{"consumes":["application/json"],"description":"多节点单指标支持指标信息","operationId":"ShowMetricNamesSupport","parameters":[{"description":"项目ID","in":"path","name":"project_id","required":true,"type":"string"},{"description":"用户token","in":"header","name":"X-Auth-Token","required":true,"type":"string"},{"description":"语言","enum":["zh-cn","en-us"],"in":"header","name":"X-Language","required":false,"type":"string"}],"produces":["application/json"],"responses":{"200":{"description":"Success.","examples":{"application/json":{"support_metric_names":[{"datastore_type":["MySQL","MariaDB","GaussDB(for MySQL)","DDM"],"description":"Number of slow SQL statements","metric_name":"slow_queries","unit":"count/min"},{"datastore_type":["MySQL","MariaDB","PostgreSQL","GaussDB(for MySQL)","GaussDB(openGauss)","SQLServer","DDM"],"description":"memory usage","metric_name":"mem_usage","unit":"%"},{"datastore_type":["MySQL","MariaDB","PostgreSQL","GaussDB(for MySQL)"],"description":"Number of active connections","metric_name":"conn_active_count","unit":"count"},{"datastore_type":["MySQL","MariaDB","PostgreSQL","GaussDB(for MySQL)","GaussDB(openGauss)","SQLServer","DDM"],"description":"Disk Usage","metric_name":"disk_usage","unit":"%"},{"datastore_type":["MySQL","MariaDB"],"description":"Total Connections","metric_name":"conn_count","unit":"count"},{"datastore_type":["GaussDB(for MySQL)","SQLServer"],"description":"Disk Usage Size","metric_name":"data_disk_used_size","unit":"GB"},{"datastore_type":["MySQL","MariaDB","PostgreSQL","GaussDB(for MySQL)","GaussDB(openGauss)","SQLServer","DDM"],"description":"CPU usage","metric_name":"cpu_usage","unit":"%"},{"datastore_type":["MySQL","MariaDB"],"description":"Binlog disk usage","metric_name":"binlog_usage","unit":"%"},{"datastore_type":["MySQL","MariaDB","PostgreSQL","GaussDB(for MySQL)","SQLServer"],"description":"Replication latency","metric_name":"replication_delay","unit":"s"}]}},"schema":{"$ref":"#/definitions/SupportMetricNameList"}},"400":{"description":"BadRequest.","schema":{"$ref":"#/definitions/ErrorResp"}},"500":{"description":"InternalServerError.","schema":{"$ref":"#/definitions/ErrorResp"}}},"summary":"多节点单指标支持指标信息","tags":["云DBA"],"x-das-is-publish":"#QueryMetricNamesSupport_Placeholder#","x-is-registered":"Y","x-order":0,"x-request-examples-url-1":"GET https://das.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/metric-names/support","x-support-sdk":"Y"}}},"product_short":"DAS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"多节点单指标支持指标信息","tags":"云DBA","uri":null,"version":"2.0"}