Merge pull request #4467 from pipecat-ai/aleix/fix-tts-ttfb-tracing

Fix metrics.ttfb and partial output on TTS/STT/LLM OpenTelemetry spans
This commit is contained in:
Aleix Conchillo Flaqué
2026-05-13 13:10:52 -07:00
committed by GitHub
4 changed files with 487 additions and 129 deletions

View File

@@ -0,0 +1 @@
- Fixed incorrect `metrics.ttfb` on STT OpenTelemetry spans, and parented them to the current turn span.

View File

@@ -0,0 +1 @@
- Fixed missing `output` attribute on LLM OpenTelemetry spans when the LLM call is interrupted mid-stream.

1
changelog/4467.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed incorrect `metrics.ttfb` on TTS OpenTelemetry spans for streaming services.