Skip to main content
Version: 2.x

Class: NoopInstrumentation

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

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:89

Type Parameters

T

T

Parameters

_operation

string

_attributes

Readonly<Record<string, TelemetryAttributeValue>> | undefined

callback

() => Promise<T>

Returns

Promise<T>

Implementation of

Instrumentation.run