File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ pub struct EngineParams {
2929 /// the session will be written out to this filename.
3030 /// For debugging.
3131 pub replay : Option < String > ,
32+ /// API Call ID for distributed tracing
33+ pub api_call_id : Option < String > ,
3234}
3335
3436impl Default for EngineParams {
@@ -43,6 +45,7 @@ impl Default for EngineParams {
4345 pool : None ,
4446 show_grid : false ,
4547 replay : None ,
48+ api_call_id : None ,
4649 }
4750 }
4851}
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ pub enum WebSocketRequest {
9797 metrics : Box < ClientMetrics > ,
9898 } ,
9999
100+ /// Return information about the connected instance
101+ Debug { } ,
102+
100103 /// Authentication header request.
101104 Headers {
102105 /// The authentication header.
@@ -208,6 +211,12 @@ pub enum OkWebSocketResponseData {
208211
209212 /// Pong response to a Ping message.
210213 Pong { } ,
214+
215+ /// Information about the connected instance
216+ Debug {
217+ /// Instance name. This may or may not mean something.
218+ name : String ,
219+ } ,
211220}
212221
213222/// Successful Websocket response.
You can’t perform that action at this time.
0 commit comments