Skip to main content
Version: 2.x

Class: NoopInstrumentation

Defined in: javascript/src/telemetry/index.ts:99

Default implementation: execute normally and emit nothing.

Implements​

Constructors​

Constructor​

new NoopInstrumentation(): NoopInstrumentation

Returns​

NoopInstrumentation

Methods​

run()​

run<T>(_operation, _attributes, callback): Promise<T>

Defined in: javascript/src/telemetry/index.ts:100

Type Parameters​

T​

T

Parameters​

_operation​

string

_attributes​

TelemetryAttributes | undefined

callback​

() => Promise<T>

Returns​

Promise<T>

Implementation of​

Instrumentation.run