Understanding the Metric Pipeline
Learn about how the Metric microservice pipeline works in Oracle Communications Unified Assurance.
About the Metric Pipeline
The metric pipeline collects performance metrics and key performance indicators (KPIs), processes them, and inserts them into the Metrics database or the Observability Analytics database, depending on your configurations. This pipeline helps provide insights into the health and behavior of network services, and enables you to monitor and analyze your networks and devices.
The pipeline includes alternate flows, depending on your deployment architecture:
-
Observability Analytics flow: In this flow, metrics are inserted into the Observability Analytics database, and can feed into the Event microservice pipeline to generate events based on metric thresholds.
-
Metric Database Flow (legacy): In this flow, metrics are inserted into the Metric database. There is no direct link to the Event microservice pipeline.
The following figure shows how metrics flow through the pipeline.

Description of illustration metric-microservice-pipeline.png
Metric Pipeline Components
The metric pipeline consists of the following components, sorted by component type and location in the pipeline:
| Type | Component | Description |
|---|---|---|
| Microservice | Ciena MCP Poller | Polls metrics from Ciena MCP devices and publishes them to the assure1/metric/sink topic. |
| Microservice | Cisco DNA Poller | Polls metrics from Cisco DNA devices and publishes them to the assure1/metric/sink topic. |
| Microservice | Cisco Meraki Poller | Polls metrics from Cisco Meraki devices and publishes them to the assure1/metric/sink topic. |
| Microservice | Netapp Poller | Polls metrics from the Netapp ONTAP REST API and publishes them to the assure1/metric/sink topic. |
| Microservice | Aruba Central Poller | Polls metrics from HPE Aruba Networking Central and publishes them to the assure1/metric/sink topic. |
| Microservice | gNMI Collector | Polls metrics for gNMI Devices and publishes them to the assure1/metric/sink topic. |
| Microservice | Mist Poller | Polls metrics from the Mist REST API and publishes them to the assure1/metric/sink topic. |
| Microservice | SNMP Poller | Polls metrics from SNMP devices and publishes them to the assure1/metric/sinkos topic. |
| Microservice | Ping Poller | Polls metrics from ICMP devices and publishes them to the assure1/metric/sinkos topic. |
| Microservice | Metric Sink (Legacy) | Reads metrics from assure1/metric/sink and inserts them into the Metrics database. |
| Microservice | Metric Sink (Observability Analytics) | Reads metrics from assure1/metric/sinkos and inserts them into the Metrics database. |
| Supporting Microservice | Prometheus | Collects performance metrics from microservices and inserts them into the Metrics database. This microservice is not shown in the figure. It runs in the background for all microservices. Note: The self-monitoring metrics collected by Prometheus are not part of the metric microservice pipeline. |
| Supporting Microservice | Apache Pulsar | Provides the messaging framework for pipeline microservices to publish and read data. |
| Supporting Microservice | Telegraf | The Metric Sink microservice uses Telegraf to insert metrics into the Metrics database. Telegraf is automatically included as a pod within the deployment when you deploy the Metric Sink microservice. You do not need to deploy it separately. |
| Pulsar Topic | assure1/metric/sink | The poller microservices can publish metric data here, and the legacy Metric Sink microservice subscribes. |
| Pulsar Topic | assure1/metric/sinkos | The poller microservices can publish metric data here, and the Observability Analytics Metric Sink microservice subscribes. |
| Database | Metric Database (InfluxDB) | The legacy Metric Sink microservice inserts metrics here. |
| Database | Observability Analytics Database (OpenSearch) | The Observability Analytics Metric Sink microservice inserts metrics here. |
Metric Pipeline Flows
This section describes the alternate metric pipeline flows.
Observability Analytics Database Flow
The Observability Analytics database flow is as follows:
-
The various pollers collect metric data from the respective devices.
-
The pollers publish the metric data to the assure1/metric/sinkos topic.
-
The Metric Sink OS microservice reads the metrics from assure1/metric/sinkos and publishes them to the Observability Analytics database.
-
Optionally, the Event microservice pipeline consumes metrics using the Standard Threshold Processor. See Understanding the Event Pipeline for more information.
Metric Database Flow
The metric database flow is as follows:
-
The various pollers collect metric data from the respective devices.
-
The pollers publish the metric data to the assure1/metric/sink topic.
-
The Metric Sink microservice reads the metrics from assure1/metric/sink and publishes them to the Metrics database using two containers:
-
The Metric Sink container reads the metrics from assure1/metric/sink, translates it into a format understood by Telegraf, and sends the translated metrics on the local host within the pod to the Telegraf container.
-
The Telegraf container publishes the metrics directly to the Metrics database.
-
Related Topics
For general information about microservices and microservice pipelines, see Understanding Microservices and Understanding Microservice Pipelines.
For information about deploying and configuring the microservices in this pipeline, see the following topics in Unified Assurance Implementation Guide:
-
Metric Sink (You use the same Helmchart and UI card to deploy either version of the Metric Sink microservice.)