Skip to content

Commit 661c466

Browse files
edem-cyberlforst
andauthored
feat(node): Rephrase wording in http integration JSDoc (#10947)
Co-authored-by: Luca Forstner <[email protected]>
1 parent b636963 commit 661c466

File tree

2 files changed

+6
-2
lines changed
  • packages

2 files changed

+6
-2
lines changed

packages/node-experimental/src/integrations/http.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ const _httpIntegration = ((options: HttpOptions = {}) => {
117117
};
118118
}) satisfies IntegrationFn;
119119

120+
/**
121+
* The http integration instruments Node's internal http and https modules.
122+
* It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
123+
*/
120124
export const httpIntegration = defineIntegration(_httpIntegration);
121125

122126
/** Update the span with data we need. */

packages/node/src/integrations/http.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ const _httpIntegration = ((options: HttpIntegrationOptions = {}) => {
138138
export const httpIntegration = defineIntegration(_httpIntegration);
139139

140140
/**
141-
* The http module integration instruments Node's internal http module. It creates breadcrumbs, transactions for outgoing
142-
* http requests and attaches trace data when tracing is enabled via its `tracing` option.
141+
* The http integration instruments Node's internal http and https modules.
142+
* It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
143143
*
144144
* @deprecated Use `httpIntegration()` instead.
145145
*/

0 commit comments

Comments
 (0)