feat(voice): add conversation lifecycle telemetry - #313
Draft
johnmatthewtennant wants to merge 10 commits into
Draft
feat(voice): add conversation lifecycle telemetry#313johnmatthewtennant wants to merge 10 commits into
johnmatthewtennant wants to merge 10 commits into
Conversation
added 2 commits
September 9, 2026 14:45
Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>
Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>
johnmatthewtennant
force-pushed
the
sol/voice-conversation-telemetry
branch
from
September 9, 2026 18:46
c7b283c to
64cf956
Compare
Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>
Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>
Signed-off-by: Sol <49aa1f65411fd096d2e2ec144f1e7aa36fdc76d1b907cfdf7be000c66f9d3b8e@buzz.block.builderlab.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
Signed-off-by: John Tennant <jtennant@block.xyz>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Berd Voice reports aggregate conversation lifecycle telemetry for native chained voice and OpenAI Realtime. Start records identify the resolved input backend, output backend, voice mode, and starting TTS-rate multiplier when available. End records repeat that context and include duration, user utterance count, assistant response count, and a bounded end reason. The rate remains a snapshot of the starting setting if playback speed changes during the call.
The events contain no conversation or human identifier. Native accounting deduplicates terminal claims, preserves counts across renderer reloads, and admits conversations only after runtime startup succeeds. Resumed native playback counts the same assistant response once.
Delivery uses the existing best-effort telemetry pipeline. Destruction of the owning renderer or process can lose an end record; abandoned state cannot block telemetry for subsequent conversations. The gateway in https://github.com/squareup/berd-monitoring/pull/31 must accept v3 before this client is released.