Skip to content

createInstrumentation() function

Home > @rimitive/core > createInstrumentation

Signature:

export declare function createInstrumentation(config: Omit<InstrumentationConfig, 'enabled' | 'providers'> & {
enabled: true;
providers: [InstrumentationProvider, ...InstrumentationProvider[]];
}): InstrumentationContext;

Parameter

Type

Description

config

Omit<InstrumentationConfig, ‘enabled’ | ‘providers’> & { enabled: true; providers: [InstrumentationProvider, …InstrumentationProvider[]]; }

Returns:

InstrumentationContext