33 lines
858 B
YAML
33 lines
858 B
YAML
# Prometheus for the BlueLaminate observability LXC.
|
|
#
|
|
# App + Tempo metrics arrive via REMOTE-WRITE (Alloy and Tempo's metrics_generator push to
|
|
# /api/v1/write — enabled by the --web.enable-remote-write-receiver flag in prometheus.service),
|
|
# so they need no scrape config. The scrape jobs below are just the stack's own self-monitoring.
|
|
|
|
global:
|
|
scrape_interval: 30s
|
|
evaluation_interval: 30s
|
|
external_labels:
|
|
monitor: bluelaminate-lxc
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
- job_name: alloy
|
|
static_configs:
|
|
- targets: ["localhost:12345"]
|
|
|
|
- job_name: loki
|
|
static_configs:
|
|
- targets: ["localhost:3100"]
|
|
|
|
- job_name: tempo
|
|
static_configs:
|
|
- targets: ["localhost:3200"]
|
|
|
|
- job_name: grafana
|
|
static_configs:
|
|
- targets: ["localhost:3000"]
|