#prometheus.yml
global: scrape_interval: 60s evaluation_interval: 60s scrape_configs: - job_name: prometheus static_configs: - targets: ['localhost:9090'] labels: instance: prometheus - job_name: linux static_configs: - targets: ['192.168.10.13:9100'] labels: instance: localhost - job_name: 'pushgateway' static_configs: - targets: ['192.168.10.13:9091'] labels: instance: 'pushgateway' - job_name: 'dolphinscheduler-master' metrics_path: '/actuator/prometheus' static_configs: - targets: ['192.168.10.13:5679'] labels: instance: 'dolphinscheduler-master' - job_name: 'dolphinscheduler-api' metrics_path: '/dolphinscheduler/actuator/prometheus' static_configs: - targets: ['192.168.10.13:12345'] labels: instance: 'dolphinscheduler-api'