diff --git a/observability/prometheus.yml b/observability/prometheus.yml index 04ae992..e496e26 100644 --- a/observability/prometheus.yml +++ b/observability/prometheus.yml @@ -24,10 +24,16 @@ scrape_configs: # Agent Governance Demo:scrape Pushgateway(Demo CLI push 進來的 counter) - job_name: "agent-governance" + scrape_interval: 5s honor_labels: true static_configs: - targets: ["host.docker.internal:9091"] + # OPA server 原生 /metrics(含決策延遲 histogram) + - job_name: "opa" + static_configs: + - targets: ["host.docker.internal:8181"] + # - job_name: "redis" # static_configs: # - targets: ["redis_exporter:9121"]