chore: 保存笔记本本地未提交改动(源码+新增文件,排除构建缓存/大文件)

This commit is contained in:
renjianbo
2026-07-11 08:58:10 +08:00
parent ad2b899c17
commit 541a08628c
832 changed files with 102878 additions and 1517 deletions

28
prometheus.yml Normal file
View File

@@ -0,0 +1,28 @@
# 天工智能体平台 — 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