Skip to content

✨ Add websocket resource type#380

Draft
bdibon wants to merge 1 commit into
masterfrom
boris.dibon/add-websocket-resource-type
Draft

✨ Add websocket resource type#380
bdibon wants to merge 1 commit into
masterfrom
boris.dibon/add-websocket-resource-type

Conversation

@bdibon
Copy link
Copy Markdown
Contributor

@bdibon bdibon commented Apr 16, 2026

Context

We're prototyping WebSocket capture on the browser-sdk.

Summary

  • Add websocket to the resource type enum in resource-schema.json
  • Add a new _websocket-schema.json sub-schema defining WebSocket connection properties (id, type, protocol, message counts, bytes, close code/reason, etc.)
  • Add a websocket field reference in the resource schema
  • Add sample events for websocket open and close resources

Add a new `websocket` resource type to the resource event schema, along
with a dedicated `_websocket-schema.json` sub-schema for WebSocket
connection properties (id, type, protocol, message counts, bytes,
close code/reason, etc.). Includes sample events for both open and
close WebSocket resources.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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