EricGao888 commented on code in PR #10477: URL: https://github.com/apache/dolphinscheduler/pull/10477#discussion_r901671675
########## docs/docs/en/guide/metrics/metrics.md: ########## @@ -1,154 +1,168 @@ # 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. +Apache DolphinScheduler exports metrics for system observability. We use [Micrometer](https://micrometer.io/) as application metrics facade. +Currently, we only support `Prometheus Exporter` but more are coming soon. -## Quick Start +## Quick Start -You can add the following config in master/worker/alert/api'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` - -The exporter port is the `server.port` defined in application.yaml, e.g: master: `server.port: 5679`, worker: `server.port: 1235`, alert: `server.port: 50053`, api: `server.port: 12345`. - -For example, you can get the master metrics by `curl http://localhost:5679/actuator/prometheus` - -We have prepared the out-of-the-box Grafana configuration 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: +- We enable Apache DolphinScheduler export metrics in `standalone` mode to help users get hands dirty easily. Review Comment: ```suggestion - We enable Apache DolphinScheduler to export metrics in `standalone` mode to help users get hands dirty easily. ``` -- 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]
