README
application-insights-fetch-monitor
Fetch API monitor for Application Insights
The monitor is based on official Ajax Monitor and mostly replicates what was done there for fetch
function.
Installation
npm i --save applicationinsights-js @types/applicationinsights-js application-insights-fetch-monitor
Usage
import { initAppInsightsFetchMonitor } from "application-insights-fetch-monitor";
appInsights.downloadAndSetup({ instrumentationKey: "[YOUR INSTRUMENTATION KEY]" });
initAppInsightsFetchMonitor();