summaryrefslogtreecommitdiff
path: root/src/msg.fbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.fbs')
-rw-r--r--src/msg.fbs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/msg.fbs b/src/msg.fbs
index 869452ced..40179fc14 100644
--- a/src/msg.fbs
+++ b/src/msg.fbs
@@ -41,6 +41,8 @@ union Any {
Accept,
Dial,
NewConn,
+ Metrics,
+ MetricsRes,
}
enum ErrorKind: byte {
@@ -321,4 +323,14 @@ table NewConn {
local_addr: string;
}
+table Metrics {}
+
+table MetricsRes {
+ ops_dispatched: uint64;
+ ops_completed: uint64;
+ bytes_sent_control: uint64;
+ bytes_sent_data: uint64;
+ bytes_received: uint64;
+}
+
root_type Base;