Parent: #232 · Blocked by: #236, #240
Scope
Add two new branches in parse_envelope_text() for session and sessions item types.
Changes
// In parse_envelope_text(), after the existing "event" and "transaction" branches:
} else if item_type == "session" {
if let Ok(session) = serde_json::from_str::<SessionUpdate>(body_line) {
session_updates.push(session);
}
} else if item_type == "sessions" {
if let Ok(aggregates) = serde_json::from_str::<SessionAggregates>(body_line) {
session_aggregates.push(aggregates);
}
}
Tasks
Effort: ~1 hour
Parent: #232 · Blocked by: #236, #240
Scope
Add two new branches in
parse_envelope_text()forsessionandsessionsitem types.Changes
Tasks
"session"branch → parseSessionUpdate"sessions"branch → parseSessionAggregatesEffort: ~1 hour