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
|Requirement ID||Requirement Description||Comments|
|F-1||EventMesh users should be able to observe HTTP metrics from Prometheus||Functionality|
|F-2||EventMesh users should be able to observe TCP metrics from Prometheus||Functionality|
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