diff --git a/docs/platforms/javascript/common/configuration/integrations/http.mdx b/docs/platforms/javascript/common/configuration/integrations/http.mdx index ad85a8f69bc05..18c36bdc6858a 100644 --- a/docs/platforms/javascript/common/configuration/integrations/http.mdx +++ b/docs/platforms/javascript/common/configuration/integrations/http.mdx @@ -69,7 +69,7 @@ The callback function receives two arguments: You can also pass some hooks through to the [underlying OpenTelemetry Instrumentation](https://www.npmjs.com/package/@opentelemetry/instrumentation-http): -```ts +```typescript httpIntegration({ instrumentation?: { requestHook?: (span: Span, req: ClientRequest | HTTPModuleRequestIncomingMessage) => void;