WebhockTransfer/app
auto-bot 6f4793a330 feat: add comprehensive health checks and Prometheus metrics
- Add app/health.py with HealthChecker and MetricsCollector classes
- Implement composite /health endpoint checking DB and HTTP client
- Add /metrics endpoint with Prometheus exposition format
- Add webhook request metrics (counters, histograms, gauges)
- Create app/http_client.py for shared AsyncClient management
- Update app/main.py lifespan to init/close HTTP client
- Add comprehensive tests in tests/test_health.py

This enables proper observability with health checks and metrics
for monitoring system status and webhook processing performance.
2025-12-24 11:10:54 +08:00
..
__pycache__ chore: 更新二进制文件数据及编译缓存 2025-12-21 21:13:19 +08:00
services feat: add async retry mechanism with exponential backoff 2025-12-24 11:04:41 +08:00
utils feat: add async retry mechanism with exponential backoff 2025-12-24 11:04:41 +08:00
__init__.py feat: 初始化Webhook中继系统项目 2025-12-21 18:43:12 +08:00
admin.py feat: add /admin/templates/preview endpoint; add preview button to template editor 2025-12-24 10:58:43 +08:00
db.py feat: add async retry mechanism with exponential backoff 2025-12-24 11:04:41 +08:00
health.py feat: add comprehensive health checks and Prometheus metrics 2025-12-24 11:10:54 +08:00
http_client.py feat: add comprehensive health checks and Prometheus metrics 2025-12-24 11:10:54 +08:00
logging.py feat: 初始化Webhook中继系统项目 2025-12-21 18:43:12 +08:00
main.py feat: add comprehensive health checks and Prometheus metrics 2025-12-24 11:10:54 +08:00
models.py feat: 初始化Webhook中继系统项目 2025-12-21 18:43:12 +08:00
templates.py feat: add safe_render using Jinja2; add tests 2025-12-24 10:50:34 +08:00