Skip to main content

Ops Platform

Ops Platform is an all-in-one monitoring and diagnostics system built into the on-premises edition of HAP. It provides three core observability capabilities — metrics, logs, and traces — plus intelligent alerting for private-deployment environments, helping ops teams centrally track the health of infrastructure and middleware and pinpoint problems fast. Monitoring targets are onboarded non-intrusively, without changing business services, and all data stays inside the intranet.

Feature Overview

After logging in you land on the Overview, where you can see system health, the number of monitoring tasks, and the current alert distribution at a glance:

Ops Platform Overview

ModuleCapabilityDocs
OverviewSystem health, monitoring task stats, active alerts, and alert activity over the last 24 hoursThis page
Resource MonitoringVisual dashboards for hosts, MySQL / MongoDB / Redis / Kafka / Elasticsearch middleware, Kubernetes clusters, and FlinkResource Monitoring
AlertNative alert rules for seven scenario types, built-in noise reduction, multi-channel notificationsAlert Rules
LogsLoki-based container logs and structured HAP microservice log searchLog Search
Distributed TracingTempo-based distributed trace analysis (request rate / error rate / latency / waterfall)Distributed Tracing
Slow Query DiagnosticsAutomatic MongoDB slow query analysis with index optimization suggestionsMongoDB Slow Query Analysis

All monitored targets are managed centrally on the Data Source page, and the selectable types for Resource Monitoring and Alert are dynamically driven by the data sources you have enabled.

Technical Architecture

Ops Platform builds its metrics and visualization capabilities around Prometheus + Grafana, and integrates Loki (log aggregation), Tempo (distributed tracing), and Grafana Alloy (unified collection agent), bringing metrics, logs, and traces together for unified querying in Grafana:

Monitoring Architecture

Data flow:

  • Metrics: node_exporter (hosts), the various middleware exporters, and kube-state-metrics (K8s objects) are scraped and stored by Prometheus.
  • Logs: container stdout is collected by Alloy, HAP microservice logs are pushed directly via serilog, and both flow into Loki.
  • Traces: applications report to Alloy via OTLP, which forwards them into Tempo.
  • Display and alerting: Grafana reads the data sources above to render dashboards; the platform's self-developed alerting subsystem runs independently of Grafana, checking rules on a schedule and notifying through multiple channels.

Starting from 1.4.0, all components are merged into a single image ops-allinone, with each service distinguished by role via the ROLE environment variable. You only need to pull one image to deploy, and offline delivery is likewise just a single file.

Component Versions

ComponentVersionRole
Prometheus3.1.0Metrics collection and storage
Grafana12.2.1Unified visualization interface
Loki3.5.8Log aggregation and search
Tempo2.9.0Distributed trace storage
Grafana Alloy1.11.3Unified observability collection (container logs / OTLP)
node_exporter1.8.2Host resource metrics
kube-state-metrics2.10.1Kubernetes cluster object state
Middleware exporterskafka 1.6.0 / elasticsearch 1.5.0 / redis 1.44.0 / mysqld 0.15.1 / mongodb 0.42.0Middleware performance metrics
MongoDB4.4.28Alerting subsystem's own storage (decoupled from monitored targets)