1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Prometheus configuration for oxify-server monitoring
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
cluster: 'oxify-local'
environment: 'development'
# Alertmanager configuration (optional)
# alerting:
# alertmanagers:
# - static_configs:
# - targets:
# - alertmanager:9093
# Rule files (optional - for alerting rules)
# rule_files:
# - "alerts/*.yml"
# Scrape configurations
scrape_configs:
# Oxify Server metrics
- job_name: 'oxify-server'
static_configs:
- targets:
metrics_path: '/metrics'
scrape_interval: 10s
scrape_timeout: 5s
# Prometheus self-monitoring
- job_name: 'prometheus'
static_configs:
- targets:
# PostgreSQL metrics (if pg_exporter is added)
# - job_name: 'postgres'
# static_configs:
# - targets: ['postgres-exporter:9187']
# Redis metrics (if redis_exporter is added)
# - job_name: 'redis'
# static_configs:
# - targets: ['redis-exporter:9121']
# Qdrant metrics
- job_name: 'qdrant'
static_configs:
- targets:
metrics_path: '/metrics'