sun
5519697f87
fix: merge case sentence and empty to handle audio frames with empty event field
2026-08-16 18:03:21 +08:00
sun
78bb7d87ab
refactor: remove fallback audio collection in case empty after namespace fix
2026-08-16 17:56:49 +08:00
sun
677f606935
fix: 修复上游省略event字段导致音频帧被丢弃的bug
2026-08-16 17:50:02 +08:00
sun
55244e9a45
fix: 修复 response.go switch 语句大括号结构错误
2026-08-16 17:32:00 +08:00
sun
483db85259
fix: 兼容上游 sentence 字段为对象/字符串两种形态,加 debug 打印无 event 元数据行
2026-08-16 17:27:20 +08:00
sun
155fab6b4b
feat: add debug log control and optimize error response and cors log
...
- add DebugLog global variable controlled by BYTEDANCE_TTS_DEBUG env
- enable debug logs for cors, tts upstream, response parsing etc when debug mode is on
- update tts error response to use standardized json error format
- add dashboard and metrics path to cache-control exempt list
2026-08-15 19:03:37 +08:00
sun
5b970f49e1
feat: 实现完整可观测性架构与火山v3适配器重构
...
重构整体架构:
1. 新增telemetry包实现零依赖的Prometheus指标系统
2. 新增metrics包集中管理业务埋点指标
3. 重构火山v3适配器,拆分client/request/response等模块
4. 替换旧的service/stats统计系统为标准指标埋点
5. 新增/metrics观测端点与完整仪表盘支持
功能更新:
- 实现基于IP的限流与并发限制,添加指标埋点
- 重构TTS控制器,支持多格式输出与完整错误分类
- 更新.env.example配置示例,新增多项可选参数
- 替换旧的volcano适配器实现,支持完整的v3 API特性
- 清理冗余代码,移除service/stats与旧adapter实现
2026-08-15 13:30:35 +08:00