From ff5bba3be833b0062b3991b96272c0047c18b62e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 2 Mar 2020 19:13:36 +0100 Subject: feat: update metrics to track different op types (#4221) --- cli/ops/runtime.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/ops') diff --git a/cli/ops/runtime.rs b/cli/ops/runtime.rs index ecdb82fd9..b1382ce36 100644 --- a/cli/ops/runtime.rs +++ b/cli/ops/runtime.rs @@ -59,7 +59,13 @@ fn op_metrics( Ok(JsonOp::Sync(json!({ "opsDispatched": m.ops_dispatched, + "opsDispatchedSync": m.ops_dispatched_sync, + "opsDispatchedAsync": m.ops_dispatched_async, + "opsDispatchedAsyncUnref": m.ops_dispatched_async_unref, "opsCompleted": m.ops_completed, + "opsCompletedSync": m.ops_completed_sync, + "opsCompletedAsync": m.ops_completed_async, + "opsCompletedAsyncUnref": m.ops_completed_async_unref, "bytesSentControl": m.bytes_sent_control, "bytesSentData": m.bytes_sent_data, "bytesReceived": m.bytes_received -- cgit v1.2.3