Skip to content

Explore integrating NextJS with Application Insights for full request tracking and

Notifications You must be signed in to change notification settings

jorupp/nextjs-appinsights

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Application Insights

There are two branches within this repository - one that tries to use NextJS instrumentation to initialize Application Insights, and one that uses the standard JavaScript SDK into the server.js file.

Tracked dependencies for the manual approach: Tracked dependencies

Calls this page makes and whether they were tracked

  • main request
  • create blob container
  • create queue
  • create table
  • fetch items from storage table
  • peek into storage queue
  • fetch document list from storage blob
  • OpenAI embeddings
  • OpenAI chat completion
  • Search cognitive search index
  • Form analyzer - analyze a document
  • Document translation supported formats

About

Explore integrating NextJS with Application Insights for full request tracking and

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages