Updated on 2025-09-03 GMT+08:00

Connecting Middleware to AOM

AOM provides a unified entry for observability analysis of Huawei Cloud services. Through the access center, you can ingest the metrics of self-built middleware such as MySQL, Redis, and Kafka into AOM, and check documents related to log ingestion.

Configuring Middleware Connection to AOM

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Access Center > Access Center to go to the new access center.

    If the old access center is displayed, click Try New Version in the upper right corner.

  3. Select Self-built middleware under Types to filter out your target middleware card.
  4. Click Ingest Metric (AOM) to quickly ingest middleware metrics to AOM or click Ingest Log (LTS) Details to check documents related to log ingestion.

    • Ingest Metric (AOM): AOM enables quick installation and configuration for self-built middleware. By creating collection tasks and executing plug-in scripts, Prometheus monitoring can monitor reported middleware metrics. It works with AOM and open-source Grafana to provide one-stop, comprehensive monitoring, helping you quickly detect and locate faults and reduce their impact on services. For details about the metrics that can be monitored by AOM, see open-source Exporters.

      To quickly ingest middleware metrics to AOM, perform the following steps:

      1. Install UniAgent on your VM for installing Exporters and creating collection tasks. For details, see Installing UniAgents.
      2. Create a Prometheus instance for ECS or a common Prometheus instance and associate it with a collection task to mark and categorize collected data. For details, see Managing Prometheus Instances.
      3. Connect middleware to AOM. For details, see Ingesting MySQL Metrics to AOM.
      4. After middleware is connected to AOM, their metrics can be reported to AOM. You can go to the Metric Browsing page to query metrics.
    • Ingest Log (LTS): AOM provides an entry for ingesting middleware logs to LTS. By clicking Ingest Log (LTS) Details, you can check the documents related to log ingestion. You can ingest logs according to the documents.
    Table 1 Connecting self-built middleware to AOM

    Card

    Related Operation

    MySQL

    A stable, efficient relational database for heavy data volumes. Used for website and application development. For details, see:

    Redis

    In-memory storage system for multiple data structure types. Used as a database, cache, and message broker. For details, see:

    Kafka

    Distributed stream processing platform with high throughput and low latency. Used for real-time data processing and log aggregation. For details, see:

    Nginx

    A high-performance HTTP/reverse proxy server for 50,000 concurrent requests. Reduces memory consumption. For details, see:

    MongoDB

    High-performance, open-source NoSQL database for document storage and flexible data models. For details, see Ingesting MongoDB Metrics to AOM.

    Consul

    Open-source distributed service discovery and configuration management, supporting multiple data centers and strong consistency. For details, see Ingesting Consul Metrics to AOM.

    HAProxy

    High-performance TCP/HTTP reverse proxy load balancer with high concurrency and flexible configuration for high service availability. For details, see Ingesting HAProxy Metrics to AOM.

    PostgreSQL

    A powerful, open source object-relational database system for complex queries and customization. For details, see Ingesting PostgreSQL Metrics to AOM.

    Elasticsearch

    Distributed full-text search engine with PB-level data storage and real-time retrieval. Used for full-text search, analysis, and monitoring. For details, see:

    RabbitMQ

    Collect RabbitMQ monitoring data. For details, see Ingesting RabbitMQ Metrics to AOM.

    ZooKeeper

    Distributed coordination service with leader election, configuration management, and distributed locks to ensure data consistency. For details, see Ingesting ZooKeeper Logs to LTS.

    IIS

    Internet Information Services (IIS) is a part of Windows Server and provides web applications and services such as HTML, ASP.NET, and PHP for clients on networks. It supports protocols such as HTTP and provides high performance, stability, and scalability. For details, see Ingesting IIS Logs to LTS.

    DNS

    Translates domain names into IP addresses and supports load balancing to speed up network access. For details, see Ingesting DNS Logs to LTS.

    Flink

    Distributed real-time compute engine with bounded and unbounded data streams processing, efficient memory performance, and exactly-once semantics. For details, see Ingesting Flink Logs to LTS.

Video Tutorial