- This is web application that sends custom metrics for client side monitoring to Azure App Insights using Client Side Javascript SDK
- The app is a Next.js project bootstrapped with
create-next-app
.
- Next.js version 13.5.1
- applicationinsights-react-js version 3.4.1
- Configure the value of
connectionString
ininstrumentation.next.ts
with your own Application Insights Instrumentation Key. - Connection Strings
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
In Azure Application Insights Instance see the metrics being sent to the Application Insights resource.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository.
You can also deploy Next.js app using the Vercel Platform.
Check out Next.js deployment documentation for more details.