forked from mtusi2026/mtusi2026lab6
lab 6 observability
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
rule_files:
|
||||
- /etc/prometheus/alerts.yml
|
||||
scrape_configs:
|
||||
# Application metrics arrive by remote write from the Collector (push). Only the Collector's own health is scraped:
|
||||
# this is how telemetry LOSS is measured when a backend is down.
|
||||
- job_name: otel-collector
|
||||
static_configs:
|
||||
- targets: ["otel-collector:8888"]
|
||||
- job_name: prometheus
|
||||
static_configs:
|
||||
- targets: ["localhost:9090"]
|
||||
Reference in New Issue
Block a user