summaryrefslogtreecommitdiff
path: root/cli/ops/runtime.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-03-02 19:13:36 +0100
committerGitHub <noreply@github.com>2020-03-02 19:13:36 +0100
commitff5bba3be833b0062b3991b96272c0047c18b62e (patch)
tree18d63cc05874c9d124c20cad9fea4240d21cfcec /cli/ops/runtime.rs
parentcfe4369dedcdd885c60b8a5f6c89bc4bb7e5e1e8 (diff)
feat: update metrics to track different op types (#4221)
Diffstat (limited to 'cli/ops/runtime.rs')
-rw-r--r--cli/ops/runtime.rs6
1 files changed, 6 insertions, 0 deletions
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