diff --git a/api-reference/openapi.en.json b/api-reference/openapi.en.json index 3b08147..f622c78 100644 --- a/api-reference/openapi.en.json +++ b/api-reference/openapi.en.json @@ -15310,7 +15310,7 @@ "post": { "operationId": "monit-store-ruleset-list", "summary": "List rulesets", - "description": "Return all rulesets for a given datasource type that are accessible to the current user.", + "description": "Return all rulesets for a given store type that are accessible to the current user.", "tags": [ "Monitors/Rule sets" ], @@ -15346,7 +15346,7 @@ "data": [ { "id": 1, - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU usage alerts", "open_flag": 2, "creator_account_id": 10023, @@ -15381,7 +15381,7 @@ "$ref": "#/components/schemas/StoreRulesetListRequest" }, "example": { - "type_ident": "prometheus" + "type_ident": "redis" } } } @@ -15427,7 +15427,7 @@ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": { "id": 1, - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU usage alerts", "open_flag": 2, "payload": "[{\"prom_ql\":\"...\"}]", @@ -15508,7 +15508,7 @@ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": { "id": 1, - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU usage alerts", "open_flag": 1, "created_at": 1712000000, @@ -15539,7 +15539,7 @@ "$ref": "#/components/schemas/StoreRulesetUpsertRequest" }, "example": { - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU usage alerts", "open_flag": 1, "payload": "[{\"prom_ql\":\"rate(cpu_usage[5m]) > 0.8\"}]" @@ -44872,7 +44872,7 @@ "properties": { "type_ident": { "type": "string", - "description": "Datasource type identifier this ruleset applies to, e.g. `prometheus`." + "description": "Store type identifier this ruleset applies to, e.g. `redis`." }, "note": { "type": "string", @@ -44915,7 +44915,7 @@ }, "type_ident": { "type": "string", - "description": "Datasource type identifier this ruleset applies to." + "description": "Store type identifier this ruleset applies to." }, "note": { "type": "string", @@ -44965,11 +44965,11 @@ "required": [ "type_ident" ], - "description": "Filter rulesets by datasource type.", + "description": "Filter rulesets by store type.", "properties": { "type_ident": { "type": "string", - "description": "Datasource type identifier to filter by, e.g. `prometheus`." + "description": "Store type identifier to filter by, e.g. `redis`." } } }, diff --git a/api-reference/openapi.zh.json b/api-reference/openapi.zh.json index b01a2df..fc92664 100644 --- a/api-reference/openapi.zh.json +++ b/api-reference/openapi.zh.json @@ -15302,7 +15302,7 @@ "post": { "operationId": "monit-store-ruleset-list", "summary": "查询规则集列表", - "description": "返回指定数据源类型下当前用户有权访问的所有规则集。", + "description": "返回指定存储类型下当前用户有权访问的所有规则集。", "tags": [ "Monitors/规则集" ], @@ -15338,7 +15338,7 @@ "data": [ { "id": 1, - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU 用量告警", "open_flag": 2, "creator_account_id": 10023, @@ -15373,7 +15373,7 @@ "$ref": "#/components/schemas/StoreRulesetListRequest" }, "example": { - "type_ident": "prometheus" + "type_ident": "redis" } } } @@ -15419,7 +15419,7 @@ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": { "id": 1, - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU 用量告警", "open_flag": 2, "payload": "[{\"prom_ql\":\"...\"}]", @@ -15500,7 +15500,7 @@ "request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4", "data": { "id": 1, - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU 用量告警", "open_flag": 1, "created_at": 1712000000, @@ -15531,7 +15531,7 @@ "$ref": "#/components/schemas/StoreRulesetUpsertRequest" }, "example": { - "type_ident": "prometheus", + "type_ident": "redis", "note": "CPU 用量告警", "open_flag": 1, "payload": "[{\"prom_ql\":\"rate(cpu_usage[5m]) > 0.8\"}]" @@ -44863,7 +44863,7 @@ "properties": { "type_ident": { "type": "string", - "description": "该规则集适用的数据源类型标识符,如 `prometheus`。" + "description": "该规则集适用的存储类型标识符,如 `redis`。" }, "note": { "type": "string", @@ -44906,7 +44906,7 @@ }, "type_ident": { "type": "string", - "description": "该规则集适用的数据源类型标识符。" + "description": "该规则集适用的存储类型标识符。" }, "note": { "type": "string", @@ -44956,11 +44956,11 @@ "required": [ "type_ident" ], - "description": "按数据源类型过滤规则集。", + "description": "按存储类型过滤规则集。", "properties": { "type_ident": { "type": "string", - "description": "数据源类型标识符,如 `prometheus`。" + "description": "存储类型标识符,如 `redis`。" } } }, diff --git a/en/monitors/rule-repository/rule-repository.mdx b/en/monitors/rule-repository/rule-repository.mdx index d62693f..7b944a5 100644 --- a/en/monitors/rule-repository/rule-repository.mdx +++ b/en/monitors/rule-repository/rule-repository.mdx @@ -1,6 +1,6 @@ --- title: "Rule repository" -description: "Browse and manage alert rule templates, with support for data source type classification, sharing, and import" +description: "Browse and manage alert rule templates, with support for store type classification, sharing, and import" keywords: ["rule repository", "rule templates", "alert rules", "import", "sharing"] --- @@ -8,15 +8,15 @@ The rule repository provides a template management mechanism for alert rules. Yo **Menu Entry**: Rule Repository -## Browse by data source type +## Browse by store type -The rule repository homepage displays all available data source types as cards. Click a data source type (e.g., Prometheus, MySQL) to view all rule templates under that type. +The rule repository homepage displays all available store types as cards. Click a store type (e.g., Redis, MySQL) to view all rule templates under that type. -You can filter data source types by name using the search box. +You can filter store types by name using the search box. ## Rule template list -After clicking a data source type, a side drawer displays the rule templates for that type with the following information: +After clicking a store type, a side drawer displays the rule templates for that type with the following information: | Column | Description | |--------|-------------| diff --git a/zh/monitors/rule-repository/rule-repository.mdx b/zh/monitors/rule-repository/rule-repository.mdx index 973326d..eb83823 100644 --- a/zh/monitors/rule-repository/rule-repository.mdx +++ b/zh/monitors/rule-repository/rule-repository.mdx @@ -1,6 +1,6 @@ --- title: "规则库" -description: "浏览和管理告警规则模板,支持按数据源类型分类、共享和导入" +description: "浏览和管理告警规则模板,支持按存储类型分类、共享和导入" keywords: ["规则库", "规则模板", "告警规则", "导入", "共享"] --- @@ -8,15 +8,15 @@ keywords: ["规则库", "规则模板", "告警规则", "导入", "共享"] **菜单入口**:规则库 -## 按数据源类型浏览 +## 按存储类型浏览 -规则库首页以卡片形式展示所有可用的数据源类型。点击某个数据源类型(如 Prometheus、MySQL 等)即可查看该类型下的所有规则模板。 +规则库首页以卡片形式展示所有可用的存储类型。点击某个存储类型(如 Redis、MySQL 等)即可查看该类型下的所有规则模板。 -你可以通过搜索框按名称过滤数据源类型。 +你可以通过搜索框按名称过滤存储类型。 ## 规则模板列表 -点击数据源类型后,侧边抽屉展示该类型下的规则模板列表,包含以下信息: +点击存储类型后,侧边抽屉展示该类型下的规则模板列表,包含以下信息: | 列信息 | 说明 | |--------|------|