Skip to content

Commit bf9561d

Browse files
authored
Fetch api calls not tracked
Fetch API calls are not tracked as dependency calls in App Insights. See ICM 497459506.
1 parent 63365f6 commit bf9561d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/azure-monitor/app/nodejs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,8 @@ appInsights.defaultClient.commonProperties = {
341341
Use the following code to manually track HTTP GET requests:
342342

343343
> [!NOTE]
344-
> All requests are tracked by default. To disable automatic collection, call `.setAutoCollectRequests(false)` before calling `start()`.
344+
> - All requests are tracked by default. To disable automatic collection, call `.setAutoCollectRequests(false)` before calling `start()`.
345+
> - Native fetch API requests aren’t automatically tracked by classic Application Insights; manual dependency tracking is required.
345346
346347
```javascript
347348
appInsights.defaultClient.trackRequest({name:"GET /customers", url:"http://myserver/customers", duration:309, resultCode:200, success:true});

0 commit comments

Comments
 (0)