Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Configuring Metrics

Updated on 2024-08-05 GMT+08:00

You can view the metrics of a default Prometheus instance, or a Prometheus instance for CCE or cloud services, and add or discard metrics.

Prerequisites

Precautions

  • Only the default Prometheus instance, and Prometheus instance for CCE or cloud services support the functions of viewing, adding, and discarding metrics.
  • Default Prometheus instance: Metrics whose names start with aom_ or apm_ and resource type is ICAgent cannot be discarded.
  • Prometheus instances for CCE:
    Only the metrics reported by kube-prometheus-stack 3.9.0 or later installed on CCE Add-ons or AOM Integration Center can be discarded. Ensure that this add-on is running when discarding metrics.
    NOTE:

    To view the kube-prometheus-stack status, log in to the CCE console and access the cluster page, choose Add-ons in the navigation pane, and locate that add-on on the right.

Viewing the Metrics of a Prometheus Instance of CCE

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Metric Analysis > Prometheus Monitoring.
  3. In the instance list, click a Prometheus instance for CCE.
  4. In the navigation pane on the left, choose Service Discovery. On the Metrics tab page, view the metric names and types of the current Prometheus instance.

    You can also filter metrics by cluster name, job name, or metric type, or enter a metric name keyword to search.

    Table 1 Metric parameters

    Parameter

    Description

    Metric Name

    Name of a metric.

    Metric Type

    Type of a metric. Options: Basic metric and Custom metric.

    Metrics in Last 10 Min

    Number of metrics that are stored in the last 10 minutes.

    Proportion

    Number of a certain type of metrics/Total number of metrics

Viewing the Metrics of a Prometheus Instance of Cloud Services

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Metric Analysis > Prometheus Monitoring.
  3. In the instance list, click a Prometheus instance for cloud services.
  4. In the navigation pane on the left, choose Service Discovery. Then view the metric names and types of the current Prometheus instance.

    You can also filter metrics by metric or resource type, or enter a metric name keyword to search.
    Table 2 Metric parameters

    Parameter

    Description

    Metric Name

    Name of a metric.

    Metric Type

    Type of a metric. Options: Basic metric and Custom metric.

    Resource Type

    Type of a resource.

    That is, the type of the connected cloud service.

Viewing the Metrics of a Default Prometheus Instance

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Metric Analysis > Prometheus Monitoring.
  3. In the instance list, click a default Prometheus instance.
  4. In the navigation pane on the left, choose Service Discovery. Then view the metric names and types of the current Prometheus instance.

    You can also filter metrics by metric or resource type, or enter a metric name keyword to search.
    Table 3 Metric parameters

    Parameter

    Description

    Metric Name

    Name of a metric.

    Metric Type

    Type of a metric. Options: Basic metric and Custom metric.

    Resource Type

    Type of a resource.

    Metrics in Last 10 Min

    Number of metrics that are stored in the last 10 minutes.

    Proportion

    Number of a certain type of metrics/Total number of metrics

More Operations

You can also perform the operations listed in Table 4 if needed.

Table 4 Related operations

Operation

Description

Sorting metrics

Click next to the Metrics in Last 10 Min or Proportion column to change the orders of metrics in the list. indicates the default order. indicates the ascending order (that is, the largest value is displayed at the bottom). indicates the descending order (that is, the smallest value is displayed at the bottom).

Adding metrics

Click Add Metric, select desired metrics from the metric list, and click OK.

NOTE:

A maximum of 100 metrics can be added each time.

Discarding metrics

  • To discard a metric, locate it and click in the Operation column.
  • To discard one or more metrics, select them and click Discard in the displayed dialog box.
    NOTE:

    A maximum of 100 metrics can be discarded each time.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback