- Fix delete agent 500: clean up FK records (agent_llm_logs, permissions, schedules, executions, team_members) and unbind goals/tasks before delete - Remove hardcoded personality templates in Android, replace with dynamic system prompt generation from name + description - Set promptSectionsEnabled=false to bypass PromptComposer for personality - Add Tencent Cloud Linux deployment guide (Docker Compose) - Accumulated backend service updates, frontend UI fixes, Android app changes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
626 B
YAML
29 lines
626 B
YAML
# 天工智能体平台 — Prometheus 配置
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
external_labels:
|
|
cluster: tiangong
|
|
environment: ${ENVIRONMENT:-prod}
|
|
|
|
# 告警规则文件
|
|
rule_files:
|
|
- /etc/prometheus/alert_rules.yml
|
|
|
|
scrape_configs:
|
|
# ─── FastAPI 后端 ───
|
|
- job_name: backend
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets:
|
|
- backend:8037
|
|
labels:
|
|
service: fastapi
|
|
component: api
|
|
|
|
# ─── Prometheus 自身监控 ───
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets:
|
|
- localhost:9090
|