File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ message StreamingMessage {
6767
6868 // Worker logs a message back to the host
6969 RpcLog rpc_log = 2 ;
70-
70+
7171 FunctionEnvironmentReloadRequest function_environment_reload_request = 25 ;
7272
7373 FunctionEnvironmentReloadResponse function_environment_reload_response = 26 ;
@@ -481,8 +481,9 @@ message RpcLog {
481481
482482 // Category of the log. Defaults to User if not specified.
483483 enum RpcLogCategory {
484- User = 0 ;
485- System = 1 ;
484+ User = 0 ;
485+ System = 1 ;
486+ CustomMetric = 2 ;
486487 }
487488
488489 // Unique id for invocation (if exists)
@@ -504,11 +505,14 @@ message RpcLog {
504505 // Exception (if exists)
505506 RpcException exception = 6 ;
506507
507- // json serialized property bag, or could use a type scheme like map<string, TypedData>
508+ // json serialized property bag
508509 string properties = 7 ;
509510
510- // Category of the log. Either user(default) or system .
511+ // Category of the log. Either user(default), system, or custom metric .
511512 RpcLogCategory log_category = 8 ;
513+
514+ // strongly-typed (ish) property bag
515+ map <string , TypedData > propertiesMap = 9 ;
512516}
513517
514518// Encapsulates an Exception
You can’t perform that action at this time.
0 commit comments