Namespaces store monitoring metrics in Hybrid Cloud Monitoring. Create, modify, or delete namespaces that hold data from Alibaba Cloud, self-managed data centers, third-party cloud providers, Prometheus, logs, and custom sources.
Create a namespace
The following example stores metric data in Simple Log Service.
-
Log on to the Cloud Monitor console.
-
In the left-side navigation pane, choose .
-
On the Namespace page, click Create Namespace.
-
In the Manage Namespace panel, enter a name for the namespace, select Simple Log Service for Data Storage Scheme, and use the default values for the other parameters.
Table 1. Parameters of a namespace
Parameter
Description
Namespace
Name of the namespace.
Data Storage Scheme
Storage scheme for metric data. Valid values:
-
Simple Log Service: Metrics are stored in Simple Log Service in your account.
-
Cloud Monitoring Storage: Metrics are stored in Cloud Monitor's private storage and accessible only through the Cloud Monitor console.
NoteFor available options, see Storage schemes of metric data in Hybrid Cloud Monitoring.
Region
Region where metric data is stored.
Retention Period
Retention period for metric data. Valid values:
-
cms.s1.large (Retention Period 15 Days)
-
cms.s1.xlarge (Retention Period 32 Days)
-
cms.s1.2xlarge (Retention Period 63 Days)
-
cms.s1.3xlarge (Retention Period 93 Days) (default)
-
cms.s1.6xlarge (Retention Period 185 Days)
-
cms.s1.12xlarge (Retention Period 367 Days)
-
cms.s1.36xlarge (Retention Period 1095 Days)
-
cms.s1.60xlarge (Retention Period 1825 Days)
-
cms.s1.120xlarge (Retention Period 3650 Days)
For pricing of different retention periods, see Pricing.
Namespace Description
Description of the namespace.
-
-
Click OK.
-
View metric data in the Simple Log Service console.
On the Namespace page, find the target namespace and click the
icon next to Simple Log Service in the Storage Scheme column.The Simple Log Service console opens the MetricStore page, where you can Query and analyze logs.
Modify a namespace
-
Log on to the Cloud Monitor console.
-
In the left-side navigation pane, choose .
-
Find the target namespace and click Edit in the Actions column.
-
In the Manage Namespace panel, modify the namespace's parameters.
For parameter details, see Parameters of a namespace.
-
Click OK.
Delete a namespace
You must delete all metric data in a namespace before you can delete the namespace.
-
Log on to the Cloud Monitor console.
-
In the left-side navigation pane, choose .
-
Find the target namespace and click Delete in the Actions column.
-
In the Confirm deletion dialog box, click OK.
References
-
To store metrics in Simple Log Service, see Usage notes and Enable log shipping for Hybrid Cloud Monitoring.
-
After creating a namespace, import metrics and set up dashboards and alerts:
-
After creating a namespace, import metrics and configure dashboards and alerts: