Manage Prometheus instances, including creating and deleting instances, configuring tags, switching billing methods, setting storage duration, and aggregating data across instances.
Prerequisites
ARMS is activated. Activate ARMS.
Access the instance list
-
Log on to the Managed Service for Prometheus console
-
In the navigation pane on the left, choose to open the instance list for Managed Service for Prometheus.
-
On the Instances page, create Prometheus instances or view Prometheus instance details: region, type, tags, and billing method.
Create an instance
-
On the Instances page, click Create Prometheus instance.
-
On the Create instance page, set the parameters and click Create Now.
Configure an instance
You can configure the following settings for a Managed Service for Prometheus instance: tags, billing methods, storage duration, and aggregation.
Manage tags
Tags are key-value pairs that categorize instances.
-
Each instance supports up to 20 tags. Keys must be unique; adding a duplicate key overwrites the value.
-
Tags are specific to a region.
-
Unbound tags are automatically deleted.
Create a tag
-
On the Instances page, select a region from the top navigation bar. Then, in the Tag column for the target instance, click the
icon. -
Click Edit to open the Edit Tag tab.
-
Enter a Tag Key and Label Value, then click OK.
Filter instances by tag
Use assigned tags to filter instances.
-
On the Instances page, select a region from the top navigation bar. Then, on the Instances tab, click Filter by tag.
-
Select a tag key and value.
Remove a tag
Remove unused tags from instances.
-
On the Instances page, select a region from the top navigation bar. Then, in the Tag column for the target instance, click the
icon. -
Click Edit to open the Edit Tag tab.
-
Click the
icon next to the tag to remove, then click OK.
Change the billing method
Prometheus supports pay-as-you-go, subscription, and pay-by-observable-data billing. You can switch from pay-as-you-go or subscription to pay-by-observable-data.
Set the storage duration
The default retention period is 90 days. To extend it, configure the storage duration on the Retention Period tab.
-
On the Instances page, select a region from the top navigation bar, then click the target instance name.
-
In the left-side navigation pane, click Modify, then click the Retention Period tab.
-
On the Storage Days tab, select the desired storage duration, then click Save.
NoteSupported values: 90 or 180 days.
Configure aggregation instances
A global aggregation instance consolidates monitoring data from multiple Prometheus instances.
-
On the Instances page, select a region from the top navigation bar. Then, in the Actions column of the target instance, click Edit.
-
On the Edit aggregate instance page, select the instances to aggregate and click Edit aggregate instance.
Parameter
Description
Global aggregation instance name
Custom name for the global aggregation instance.
Endpoint
Region where the aggregation instance is deployed.
Select the instances to be aggregated
Source account and instances to aggregate.
Delete an instance
When a Prometheus instance is deleted, all monitoring data, dashboards, alert rules, and service discovery configurations are permanently removed.
-
On the Instances page, select a region from the top navigation bar. Then, in the Actions column of the target instance, click Delete.
-
In the dialog box, click Confirm.