Overview
You can manage the TMP recording rules in the TMP console to avoid the hassle of having to modify the configuration file in native Prometheus.
Preparations
2. Create a TMP instance as instructed in Creating Instance.
3. Enter the TMP instance management page through the instance list.
4. Manage recording rules as instructed in Overview.
Directions
Creating rule
1. In the menu on the left of the instance management page, click Recording Rule > Create to enter the rule creation page, adjust the rule expression and the name of the new metric to be recorded according to your actual needs as shown below. For specific terms, please see Overview.
2. Click OK.
Managing rule
In the rule list, you can temporarily disable rules or enable rules that are not enabled. Once disabled, a rule will stop working, and the collection of related recording metrics will also stop.
Deleting rule
1. You can delete rules that are no longer used.
2. Select the rule to be deleted in the list and confirm in the pop-up window. Once deleted, a rule will stop working.
Was this page helpful?