Official website:https://prometheus.io/
Download Prometheus locally:https://prometheus.io/download/
Select the corresponding version of your computer, download and unzip it
If you are new to Prometheus, you can copy it directly: eventmesh-runtime/conf/prometheus.yml
For example:this was downloaded in win-64
Replace the file in the red box
If you know Prometheus well, you can configure it yourself. The default export port of eventmesh is 19090.
ps:If the port needs to be replaced, please modify:eventmesh-runtime/conf/eventmesh.properties中的
#prometheusPort eventMesh.metrics.prometheus.port=19090
Double click Prometheus.exe startup
run eventmesh-starter(reference eventmesh-runtime-quickstart)
run eventmesh-example(reference eventmesh-sdk-java-quickstart)
Open browser access:http://localhost:9090/
input ‘eventmesh_’ Relevant indicators will appear