feat(observability): add structured application logging
Emit correlated JSON logs from the API and FunASR services, propagate request IDs to the client, and configure bounded opt-in Docker logging. Document the host-wide Grafana/Loki query workflow and keep observability deployment ownership outside the application repository.
This commit is contained in:
@@ -32,6 +32,12 @@ npm run typecheck
|
||||
|
||||
项目 AppID 已配置在 `project.config.json` 中。
|
||||
|
||||
## 日志查询与问题定位
|
||||
|
||||
生产 API 和 FunASR 日志已接入中央 Grafana。访问地址、登录方式、常用 LogQL、请求 ID/转录
|
||||
任务关联方法,以及从日志定位到具体代码文件的流程,统一维护在
|
||||
[中央日志接入与查询手册](./docs/observability-runbook.md)。
|
||||
|
||||
## Rust 后端
|
||||
|
||||
Rust API 位于 [`server/`](./server)。它使用 Axum 和 PostgreSQL 驱动,但不会安装、启动或自动创建本地 PostgreSQL。
|
||||
|
||||
Reference in New Issue
Block a user