Skip to content

huang-julien/nitro-applicationinsights

Repository files navigation

nitro-applicationinsights

npm version

Application insight module for Nitro

Current features

  • application insights configuration at startup
  • utilities for dependency correlation
  • auto-track requests
  • correlate traces to requests

Usage

Install package:

# npm
npm install nitro-applicationinsights

# yarn
yarn add nitro-applicationinsights

# pnpm
pnpm install nitro-applicationinsights

Add nitro-applicationinsights to the modules in your config.

export default defineNitroConfig({
    modules: ['nitro-applicationinsights']
})

Et voilà ! You now have application insights node for Nitro

Docs

Read more nitro-applicationinsights documentation

Development

  • Clone this repository
  • Install latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with 💛

Published under MIT License.