JSPM

  • Created
  • Published
  • Downloads 1518
  • Score
    100M100P100Q114125F
  • License MIT

Application insights plugin for nitro.

Package Exports

    Readme

    nitro-applicationinsights

    npm version

    Application insight module for Nitro

    Current features

    • application insights configuration at startup
    • auto-track requests
    • nitro-opentelemetry runtime integration

    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.