Skip to content

Commit e6d3991

Browse files
authored
[Feature][Metrics] Enable prometheus to collect metrics in standalone mode demo (#10398)
1 parent 3258438 commit e6d3991

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ scrape_configs:
2828
- 'host.docker.internal:5679' # Change the address to the address of DolphinScheduler master server
2929
- 'host.docker.internal:1235' # Change the address to the address of DolphinScheduler worker server
3030
- 'host.docker.internal:50053' # Change the address to the address of DolphinScheduler alert server
31-
- 'host.docker.internal:8080' # Change the address to the DolphinScheduler standalone server
31+
- job_name: 'DolphinScheduler-Standalone'
32+
metrics_path: '/dolphinscheduler/actuator/prometheus'
33+
scrape_interval: 5s
34+
static_configs:
35+
- targets:
36+
- 'host.docker.internal:12345' # Change the address to the DolphinScheduler standalone server

0 commit comments

Comments
 (0)