Introduction
Metrics reflect resource performance data or status. A metric consists of a namespace, dimension, name, and unit. Metrics can be divided into:
- System metrics: basic metrics provided by AOM, such as CPU usage and used CPU cores.
- Custom metrics: user-defined metrics. Custom metrics can be reported using the following methods:
- Method 1: Use AOM APIs. For details, see Adding Monitoring Data and Querying Monitoring Data.
- Method 2: When creating containerized applications on CCE, interconnect with Prometheus to report custom metrics. For details, see Custom Monitoring.
Metric Namespaces
A namespace is an abstract collection of resources and objects. Metrics in different namespaces are independent of each other so that metrics of different applications will not be aggregated to the same statistics information.
- Namespaces of system metrics are fixed and started with PAAS.. For details, see Table 1.
- Namespaces of custom metrics must be in the XX.XX format. Each namespace must be 3 to 32 characters long, starting with a letter (excluding PAAS., SYS., and SRE.). Only digits, letters, and underscores (_) are allowed.
Metric Dimensions
Metric dimensions indicate the categories of metrics. Each metric has certain features, and a dimension may be considered as a category of such features.
- Dimensions of system metrics are fixed. Different types of metrics have different dimensions. For more details, see the following sections.
- Dimensions of custom metrics must be 1 to 32 characters long, which need to be customized.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot