Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bottlecap/src/extension/telemetry/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl TelemetryListener {
Ok(events) => events,
// The Telemetry API splits an oversized record across two POSTs, and neither half

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Written by Claude, reviewed by @lym953 before posting.

nit: this comment and the first line of the stitch.rs module doc say the record is split "across two POSTs". The pieces can also be in one POST. Suggestion: "Lambda cuts a long log line into pieces, and a payload that holds a piece does not parse. See stitch."

// parses alone. See `stitch`.
Err(e) => match state.fragments.stitch(&body, &e) {
Err(e) => match state.fragments.stitch(&body) {
Stitch::Complete(events) => {
debug!(
"TELEMETRY API | Reassembled a split payload, recovered {} events",
Expand Down
Loading
Loading