class PerformanceOperations
(source)
PerformanceOperations represents Performance protocol domain request/response operations and events that can be captured.
Link
Protocol Performance domain documentation.
fun disable(): Single<ResponseFrame>
Disable collecting and reporting metrics. |
|
fun enable(): Single<ResponseFrame>
Enable collecting and reporting metrics. |
|
fun events(): Flowable<Event>
Returns flowable capturing all Performance domains events. |
|
fun getMetrics(): Single<GetMetricsResponse>
Retrieve current values of run-time metrics. |
|
fun metrics(): Flowable<MetricsEvent>
Current values of the metrics. |
|
fun metricsTimed(): Flowable<Timed<MetricsEvent>>
Current values of the metrics. |
|
fun setTimeDomain(input: SetTimeDomainRequest): Single<ResponseFrame>
Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error. |