e783d2c07b
- Replace embedded Grafana iframes in ObservabilityPage with external Grafana link cards. Grafana URL is configurable via VITE_GRAFANA_URL (frontend) or GRAFANA_URL (backend env exposed to frontend build). - Remove the grafana scrape job from monitoring/prometheus/prometheus.yml so the main Prometheus stack no longer depends on Grafana. - Pass GRAFANA_URL through docker-compose.yml and docker-compose.dev.yml.
49 lines
929 B
YAML
49 lines
929 B
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
monitor: manage
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets:
|
|
- alertmanager:9093
|
|
|
|
rule_files:
|
|
- /etc/prometheus/rules/*.yml
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets:
|
|
- localhost:9090
|
|
|
|
- job_name: manage-backend
|
|
static_configs:
|
|
- targets:
|
|
- backend:8000
|
|
metrics_path: /metrics
|
|
scrape_interval: 15s
|
|
|
|
- job_name: node-exporter
|
|
static_configs:
|
|
- targets:
|
|
- node-exporter:9100
|
|
|
|
- job_name: loki
|
|
static_configs:
|
|
- targets:
|
|
- loki:3100
|
|
|
|
- job_name: alertmanager
|
|
static_configs:
|
|
- targets:
|
|
- alertmanager:9093
|
|
|
|
- job_name: node-exporter-remote
|
|
file_sd_configs:
|
|
- files:
|
|
- /etc/prometheus/file-sd/node_exporter_targets.json
|
|
refresh_interval: 30s
|