41 lines
902 B
YAML
41 lines
902 B
YAML
# Prometheus configuration for AgentDB metrics
|
|
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
cluster: 'agentdb-dev'
|
|
replica: '1'
|
|
|
|
# Alertmanager configuration
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: []
|
|
|
|
# Load rules once and periodically evaluate them
|
|
rule_files:
|
|
# - "alerts/*.yml"
|
|
|
|
# Scrape configurations
|
|
scrape_configs:
|
|
# OpenTelemetry Collector metrics
|
|
- job_name: 'otel-collector'
|
|
static_configs:
|
|
- targets: ['otel-collector:8888']
|
|
labels:
|
|
component: 'collector'
|
|
|
|
# AgentDB metrics via Prometheus exporter
|
|
- job_name: 'agentdb-metrics'
|
|
static_configs:
|
|
- targets: ['otel-collector:8889']
|
|
labels:
|
|
service: 'agentdb'
|
|
version: '2.0.0-alpha'
|
|
|
|
# Prometheus self-monitoring
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|