DealDocumentScreening/deploy/observability/prometheus/prometheus.yml

51 lines
1.1 KiB
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
static_configs:
- targets: [localhost:9090]
- job_name: api
metrics_path: /metrics
static_configs:
- targets: [api:8000]
labels:
service: api
- job_name: worker-extract
static_configs:
- targets: [worker-extract:9101]
labels:
service: worker-extract
- job_name: worker-analyze
static_configs:
- targets: [worker-analyze:9102]
labels:
service: worker-analyze
- job_name: worker-prescreen
static_configs:
- targets: [worker-prescreen:9104]
labels:
service: worker-prescreen
- job_name: worker-notify
static_configs:
- targets: [worker-notify:9103]
labels:
service: worker-notify
- job_name: worker-billing
static_configs:
- targets: [worker-billing:9105]
labels:
service: worker-billing
- job_name: nginx
static_configs:
- targets: [nginx-exporter:9113]
labels:
service: nginx