This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new e6d39910fb [Feature][Metrics] Enable prometheus to collect metrics in 
standalone mode demo  (#10398)
e6d39910fb is described below

commit e6d39910fb64d8377a75129d940bb9e6e5efc4d1
Author: Eric Gao <[email protected]>
AuthorDate: Fri Jun 10 13:08:27 2022 +0800

    [Feature][Metrics] Enable prometheus to collect metrics in standalone mode 
demo  (#10398)
---
 .../src/main/resources/grafana-demo/prometheus.yml                 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml 
b/dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml
index 751c2da2f6..715cdb657f 100644
--- a/dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml
+++ b/dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml
@@ -28,4 +28,9 @@ scrape_configs:
           - 'host.docker.internal:5679' # Change the address to the address of 
DolphinScheduler master server
           - 'host.docker.internal:1235' # Change the address to the address of 
DolphinScheduler worker server
           - 'host.docker.internal:50053' # Change the address to the address 
of DolphinScheduler alert server
-          - 'host.docker.internal:8080' # Change the address to the 
DolphinScheduler standalone server
+  - job_name: 'DolphinScheduler-Standalone'
+    metrics_path: '/dolphinscheduler/actuator/prometheus'
+    scrape_interval: 5s
+    static_configs:
+      - targets:
+          - 'host.docker.internal:12345' # Change the address to the 
DolphinScheduler standalone server

Reply via email to