ruanwenjun commented on code in PR #10326:
URL: https://github.com/apache/dolphinscheduler/pull/10326#discussion_r889940361


##########
docs/docs/en/guide/metrics/metrics.md:
##########
@@ -0,0 +1,72 @@
+# Introduction
+
+Apache DolphinScheduler has export some metrics to monitor the system. We use 
micrometer for the exporter facade, and
+the default exporter is prometheus, more exporter is coming soon.
+
+## Quick Start
+
+You can add the following config in master/worker's yaml file to open the 
metrics exporter.
+
+```yaml
+metrics:
+  enabled: true
+```
+
+Once you open the metrics exporter, you can access the metrics by the url: 
`http://ip:port/actuator/prometheus`
+For example, you can get the master metrics by `curl 
http://localhost:5679/actuator/prometheus`
+
+We have prepared the out-of-the-box grafana for you, you can find the grafana 
dashboard
+at `dolphinscheduler-meter/resources/grafana`, you can directly import these 
dashboards to grafana.
+
+If you want to try at docker, you can use the following command to start the 
prometheus with grafana:
+
+```shell
+cd dolphinscheduler-meter/src/main/resources/grafana-demo
+docker compose up
+```
+
+Then you can access the grafana by the url: `http://localhost/3001`
+
+## Master Metrics

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to