-
Notifications
You must be signed in to change notification settings - Fork 5k
[Feature][Metrics] Enable prometheus to collect metrics in standalone mode demo #10395
Copy link
Copy link
Closed
Labels
Description
Search before asking
- I had searched in the issues and found no similar feature requirement.
Description
- Currently metrics in standalone mode are not collected by prometheus, we could add some configurations so that developers / users could experience ds metrics feature more conveniently.
dolphinscheduler/dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml
Lines 18 to 31 in 3258438
global: scrape_interval: 15s evaluation_interval: 15s rule_files: scrape_configs: - job_name: 'DolphinScheduler' metrics_path: '/actuator/prometheus' scrape_interval: 5s static_configs: - targets: - '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
Use case
- Already described above.
Related issues
related: #9324
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
