summaryrefslogtreecommitdiff
path: root/js/metrics.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/metrics.ts')
-rw-r--r--js/metrics.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/js/metrics.ts b/js/metrics.ts
index f00c1308d..503d0e0e6 100644
--- a/js/metrics.ts
+++ b/js/metrics.ts
@@ -36,16 +36,16 @@ function res(baseRes: null | msg.Base): Metrics {
/** Receive metrics from the privileged side of Deno.
*
- * > console.table(Deno.metrics())
- * ┌──────────────────┬────────┐
- * │ (index) │ Values │
- * ├──────────────────┼────────┤
- * │ opsDispatched │ 9 │
- * │ opsCompleted │ 9 │
- * │ bytesSentControl │ 504 │
- * │ bytesSentData │ 0 │
- * │ bytesReceived │ 856 │
- * └──────────────────┴────────┘
+ * > console.table(Deno.metrics())
+ * ┌──────────────────┬────────┐
+ * │ (index) │ Values │
+ * ├──────────────────┼────────┤
+ * │ opsDispatched │ 9 │
+ * │ opsCompleted │ 9 │
+ * │ bytesSentControl │ 504 │
+ * │ bytesSentData │ 0 │
+ * │ bytesReceived │ 856 │
+ * └──────────────────┴────────┘
*/
export function metrics(): Metrics {
return res(dispatch.sendSync(...req()));