You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ch...@apache.org on 2022/12/14 07:40:59 UTC

[dolphinscheduler] branch dev updated: [Improvement][Metrics] Filtering data by application in grafana-demo worker dashboard example (#13139)

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

chufenggao 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 84b5d81042 [Improvement][Metrics] Filtering data by application in grafana-demo worker dashboard example (#13139)
84b5d81042 is described below

commit 84b5d810425f7bb23cc5a179d3dedeb295daa06d
Author: XCL <xu...@163.com>
AuthorDate: Wed Dec 14 15:40:51 2022 +0800

    [Improvement][Metrics] Filtering data by application in grafana-demo worker dashboard example (#13139)
    
    * Filtering data by application in grafana-demo worker dashboard example
    * Update dolphinscheduler-api/src/main/resources/swagger.properties
    
    Co-authored-by: chunlai.xu <ch...@zhaopin.com.cn>
    Co-authored-by: kezhenxu94 <ke...@apache.org>
---
 .../src/main/resources/grafana/DolphinSchedulerWorker.json              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dolphinscheduler-meter/src/main/resources/grafana/DolphinSchedulerWorker.json b/dolphinscheduler-meter/src/main/resources/grafana/DolphinSchedulerWorker.json
index 0b3c85c1f3..548ef495f1 100644
--- a/dolphinscheduler-meter/src/main/resources/grafana/DolphinSchedulerWorker.json
+++ b/dolphinscheduler-meter/src/main/resources/grafana/DolphinSchedulerWorker.json
@@ -179,7 +179,7 @@
             "type": "prometheus",
             "uid": "PBFA97CFB590B2093"
           },
-          "expr": "process_start_time_seconds{}",
+          "expr": "process_start_time_seconds{application=\"worker-server\"}",
           "refId": "A"
         }
       ],