Skip to content

Commit

Permalink
TRACING-4435 changed to InstrumentationConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-sumo committed Oct 22, 2024
1 parent 98eca90 commit adc8b6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { WebTracerProvider } from '@opentelemetry/sdk-trace-web';
import { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';
import { FetchInstrumentation } from '@opentelemetry/instrumentation-fetch';
import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
import { InstrumentationOption } from '@opentelemetry/instrumentation';
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
import { SumoLogicContextManager } from './sumologic-context-manager';
import { DocumentLoadInstrumentation } from '@opentelemetry/instrumentation-document-load';
import { UserInteractionInstrumentation } from '@opentelemetry/instrumentation-user-interaction';
Expand Down Expand Up @@ -229,8 +229,8 @@ export const initialize = ({
}
};

const httpInstrumentationOptions: InstrumentationOption = {
// enabled: true,
const httpInstrumentationOptions: InstrumentationConfig = {
enabled: true,
ignoreIncomingRequestHook: () => true,
};

Expand Down

0 comments on commit adc8b6c

Please sign in to comment.