87 lines
1.9 KiB
YAML
87 lines
1.9 KiB
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets:
|
|
- prometheus:9090
|
|
|
|
- job_name: video-gateway
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-gateway:9000
|
|
labels:
|
|
application: video-gateway
|
|
|
|
- job_name: video-auth
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-auth:9001
|
|
labels:
|
|
application: video-auth
|
|
|
|
- job_name: video-user
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-user:9002
|
|
labels:
|
|
application: video-user
|
|
|
|
- job_name: video-content
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-content:9003
|
|
labels:
|
|
application: video-content
|
|
|
|
- job_name: video-comment
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-comment:9004
|
|
labels:
|
|
application: video-comment
|
|
|
|
- job_name: video-recommend
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-recommend:9005
|
|
labels:
|
|
application: video-recommend
|
|
|
|
- job_name: video-admin
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
- targets:
|
|
- video-admin:9006
|
|
labels:
|
|
application: video-admin
|
|
|
|
- job_name: mysql-exporter
|
|
static_configs:
|
|
- targets:
|
|
- mysqld-exporter:9104
|
|
labels:
|
|
application: mysql
|
|
|
|
- job_name: redis-exporter
|
|
static_configs:
|
|
- targets:
|
|
- redis-exporter:9121
|
|
labels:
|
|
application: redis
|
|
|
|
- job_name: node-exporter
|
|
static_configs:
|
|
- targets:
|
|
- node-exporter:9100
|
|
labels:
|
|
application: node
|