Files
telegram-management-system/marketing-agent/infrastructure/prometheus/prometheus.yml
你的用户名 237c7802e5
Some checks failed
Deploy / deploy (push) Has been cancelled
Initial commit: Telegram Management System
Full-stack web application for Telegram management
- Frontend: Vue 3 + Vben Admin
- Backend: NestJS
- Features: User management, group broadcast, statistics

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 15:37:50 +08:00

85 lines
1.8 KiB
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'marketing-agent'
alerting:
alertmanagers:
- static_configs:
- targets: []
rule_files:
- "rules/*.yml"
scrape_configs:
# Prometheus self-monitoring
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# Node exporter
- job_name: 'node'
static_configs:
- targets: ['node-exporter:9100']
# Orchestrator service
- job_name: 'orchestrator'
static_configs:
- targets: ['orchestrator:3001']
metrics_path: '/metrics'
# Claude Agent service
- job_name: 'claude-agent'
static_configs:
- targets: ['claude-agent:3002']
metrics_path: '/metrics'
# GramJS Adapter service
- job_name: 'gramjs-adapter'
static_configs:
- targets: ['gramjs-adapter:3003']
metrics_path: '/metrics'
# Safety Guard service
- job_name: 'safety-guard'
static_configs:
- targets: ['safety-guard:3004']
metrics_path: '/metrics'
# Analytics service
- job_name: 'analytics'
static_configs:
- targets: ['analytics:3005']
metrics_path: '/metrics'
# A/B Testing service
- job_name: 'ab-testing'
static_configs:
- targets: ['ab-testing:3006']
metrics_path: '/metrics'
# PostgreSQL exporter
- job_name: 'postgresql'
static_configs:
- targets: ['postgres-exporter:9187']
# MongoDB exporter
- job_name: 'mongodb'
static_configs:
- targets: ['mongodb-exporter:9216']
# Redis exporter
- job_name: 'redis'
static_configs:
- targets: ['redis-exporter:9121']
# RabbitMQ exporter
- job_name: 'rabbitmq'
static_configs:
- targets: ['rabbitmq:15692']
# Nginx exporter
- job_name: 'nginx'
static_configs:
- targets: ['nginx-exporter:9113']