trustgraph/ts/deploy/prometheus/prometheus.yml
elpresidank b6536eca38 init
2026-04-05 22:44:45 -05:00

36 lines
812 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: "trustgraph-ts"
scrape_configs:
# Prometheus self-monitoring
- job_name: "prometheus"
scrape_interval: 15s
static_configs:
- targets:
- "prometheus:9090"
# NATS monitoring
- job_name: "nats"
scrape_interval: 15s
metrics_path: "/varz"
static_configs:
- targets:
- "nats:8222"
# OpenTelemetry Collector (exposes Prometheus metrics from OTLP pipeline)
- job_name: "otel-collector"
scrape_interval: 15s
static_configs:
- targets:
- "otel-collector:8889"
# TrustGraph gateway (enabled when gateway container is running)
- job_name: "gateway"
scrape_interval: 5s
static_configs:
- targets:
- "gateway:8000"