withTracing

fun <Error class: unknown class>.withTracing(tracer: <Error class: unknown class>): <Error class: unknown class>

Wraps an existing browser with OpenTelemetry instrumentation.

This extension function allows you to add tracing to an existing Browser. All tabs opened through the wrapped browser will automatically be traced.

Return

An instrumented Browser that wraps this browser.

Parameters

tracer

The OpenTelemetry tracer to use for creating spans.

Samples


fun <Error class: unknown class>.withTracing(tracer: <Error class: unknown class>): <Error class: unknown class>

Wraps an existing tab with OpenTelemetry instrumentation.

This extension function allows you to add tracing to an existing Tab. All actions performed on the wrapped tab will automatically be traced.

Return

An instrumented Tab that wraps this tab.

Parameters

tracer

The OpenTelemetry tracer to use for creating spans.

Samples