48 lines
971 B
YAML
48 lines
971 B
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
platform: cmpp
|
|
environment: preproduction
|
|
|
|
rule_files:
|
|
- /etc/prometheus/cmpp-alerts.yml
|
|
- /var/lib/cmpp-platform/monitoring/*.yml
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: [127.0.0.1:9090]
|
|
|
|
- job_name: node
|
|
static_configs:
|
|
- targets: [127.0.0.1:9100]
|
|
labels:
|
|
host: cmpp-primary
|
|
|
|
- job_name: cmpp-api
|
|
static_configs:
|
|
- targets: [127.0.0.1:9464]
|
|
|
|
- job_name: cmpp-gateway
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: [127.0.0.1:8090]
|
|
|
|
- job_name: postgresql
|
|
static_configs:
|
|
- targets: [127.0.0.1:9187]
|
|
|
|
- job_name: redis
|
|
static_configs:
|
|
- targets: [127.0.0.1:9121]
|
|
|
|
- job_name: minio
|
|
metrics_path: /minio/v2/metrics/cluster
|
|
static_configs:
|
|
- targets: [127.0.0.1:9000]
|
|
|
|
- job_name: nginx
|
|
static_configs:
|
|
- targets: [127.0.0.1:9113]
|