Skip to content

feat(voice): add conversation lifecycle telemetry - #313

Draft
johnmatthewtennant wants to merge 10 commits into
mainfrom
sol/voice-conversation-telemetry
Draft

feat(voice): add conversation lifecycle telemetry#313
johnmatthewtennant wants to merge 10 commits into
mainfrom
sol/voice-conversation-telemetry

Conversation

@johnmatthewtennant

@johnmatthewtennant johnmatthewtennant commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

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.

Sol 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
johnmatthewtennant force-pushed the sol/voice-conversation-telemetry branch from c7b283c to 64cf956 Compare September 9, 2026 18:46
Sol and others added 8 commits September 9, 2026 15:11
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant