Skip to content

[Feature][Metrics] Enable prometheus to collect metrics in standalone mode demo #10395

@EricGao888

Description

@EricGao888

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.
  • 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

metrics

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions