Skip to main content
Version: v1.9.0

EventMesh Metrics (OpenTelemetry and Prometheus)


EventMesh is a dynamic cloud-native eventing infrastructure.

An overview of OpenTelemetry

OpenTelemetry is a collection of tools, APIs, and SDKs. You can use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior.

An overview of Prometheus

Power your metrics and alerting with a leading open-source monitoring solution.

  • Dimensional data
  • Powerful queries
  • Great visualization
  • Efficient storage
  • Simple operation
  • Precise alerting
  • Many client libraries
  • Many integrations


Functional Requirements

Requirement IDRequirement DescriptionComments
F-1EventMesh users should be able to observe HTTP metrics from PrometheusFunctionality
F-2EventMesh users should be able to observe TCP metrics from PrometheusFunctionality

Design Details

use the meter instrument provided by OpenTelemetry to observe the metrics exist in EventMesh then export to Prometheus.

1、Initialize a meter instrument

2、set the Prometheus server

3、different metrics observer built