Skip to main content
The rule repository provides a template management mechanism for alert rules. You can save commonly used alert rules as templates for team reuse and quick import into the alert rules list. Menu Entry: Rule Repository

Browse by data source 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. You can filter data source 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: Search by description content is supported.

Create a rule template

1

Click New

Click the New Ruleset button in the rule template list.
2

Fill in the form

3

Set visibility

Rule templates support three visibility levels:
4

Save

Click OK to complete creation.

Edit and delete

Only the template creator (or the primary account of the same tenant) can edit and delete templates.
  • View: Click the description text or the View button to see the template details.
  • Edit: Click the Edit button to modify template information.
  • Delete: Click the Delete button and confirm to delete the template.

Import from the rule repository

On the alert rules list page, click the Import button and select the Rule Repository mode to import templates as actual alert rules. See Import alert rules for details.