Browse Source

[Feature][Metrics] Enable prometheus to collect metrics in standalone mode demo (#10398)

3.1.0-release
Eric Gao 2 years ago committed by GitHub
parent
commit
e6d39910fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      dolphinscheduler-meter/src/main/resources/grafana-demo/prometheus.yml

7
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: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: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: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

Loading…
Cancel
Save