diff --git a/packages/node-experimental/src/integrations/http.ts b/packages/node-experimental/src/integrations/http.ts index 0c53a0c7e889..be903c00326d 100644 --- a/packages/node-experimental/src/integrations/http.ts +++ b/packages/node-experimental/src/integrations/http.ts @@ -117,6 +117,10 @@ const _httpIntegration = ((options: HttpOptions = {}) => { }; }) satisfies IntegrationFn; +/** + * The http integration instruments Node's internal http and https modules. + * It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span. + */ export const httpIntegration = defineIntegration(_httpIntegration); /** Update the span with data we need. */ diff --git a/packages/node/src/integrations/http.ts b/packages/node/src/integrations/http.ts index 00858d6b15cf..75dc8e061537 100644 --- a/packages/node/src/integrations/http.ts +++ b/packages/node/src/integrations/http.ts @@ -138,8 +138,8 @@ const _httpIntegration = ((options: HttpIntegrationOptions = {}) => { export const httpIntegration = defineIntegration(_httpIntegration); /** - * The http module integration instruments Node's internal http module. It creates breadcrumbs, transactions for outgoing - * http requests and attaches trace data when tracing is enabled via its `tracing` option. + * The http integration instruments Node's internal http and https modules. + * It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span. * * @deprecated Use `httpIntegration()` instead. */