File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ pub struct EngineParams {
29
29
/// the session will be written out to this filename.
30
30
/// For debugging.
31
31
pub replay : Option < String > ,
32
+ /// API Call ID for distributed tracing
33
+ pub api_call_id : Option < String > ,
32
34
}
33
35
34
36
impl Default for EngineParams {
@@ -43,6 +45,7 @@ impl Default for EngineParams {
43
45
pool : None ,
44
46
show_grid : false ,
45
47
replay : None ,
48
+ api_call_id : None ,
46
49
}
47
50
}
48
51
}
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ pub enum WebSocketRequest {
97
97
metrics : Box < ClientMetrics > ,
98
98
} ,
99
99
100
+ /// Return information about the connected instance
101
+ Debug { } ,
102
+
100
103
/// Authentication header request.
101
104
Headers {
102
105
/// The authentication header.
@@ -208,6 +211,12 @@ pub enum OkWebSocketResponseData {
208
211
209
212
/// Pong response to a Ping message.
210
213
Pong { } ,
214
+
215
+ /// Information about the connected instance
216
+ Debug {
217
+ /// Instance name. This may or may not mean something.
218
+ name : String ,
219
+ } ,
211
220
}
212
221
213
222
/// Successful Websocket response.
You can’t perform that action at this time.
0 commit comments