This module provides a direct mapping of CDP events and commands for v1.3 (stable) of the Performance Domain.
Types
Performance {.pure.} = enum metrics = "Performance.metrics"
- Performance Domain events
Procs
proc disablePerformanceDomain(tab: Tab): owned(Future[void]) {. ...stackTrace: false, raises: [Exception], tags: [RootEffect, WriteIOEffect, ReadIOEffect, TimeEffect], forbids: [].}
-
Disable collecting and reporting metrics.
proc enablePerformanceDomain(tab: Tab): owned(Future[void]) {....stackTrace: false, raises: [Exception], tags: [RootEffect, WriteIOEffect, ReadIOEffect, TimeEffect], forbids: [].}
proc enablePerformanceDomain(tab: Tab; timeDomain: string): owned( Future[void]) {....stackTrace: false, raises: [Exception], tags: [RootEffect, WriteIOEffect, ReadIOEffect, TimeEffect], forbids: [].}
-
Enable collecting and reporting metrics.
proc getMetrics(tab: Tab): Future[JsonNode] {....stackTrace: false, raises: [Exception, ValueError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, TimeEffect], forbids: [].}
-
Retrieve current values of run-time metrics.