New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@croudtech/applicationinsights

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@croudtech/applicationinsights

An opionated module for loading application insights on nuxt

  • 0.0.2-1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
3
Weekly downloads
 
Created
Source

@croudtech/applicationinsights

Croud's dynamic Application Insights module that extends @nuxtjs/applicationinsights but allows us dynamically set the instrumentationKey via an ENV_VAR

Installation

You can install this package globally with NPM

npm install -g @croudtech/applicationinsights

or Yarn

yarn add @croudtech/applicationinsights

Setup

Add the module to you nuxt.config.js, ensure you remove the old @nuxtjs/applicationinsights module

{
  modules: [
    '@croudtech/applicationinsights',
  ],

  appInsights: {
    instrumentationKey: '' //  your project's Instrumentation Key here
  }
}

Nuxt compatibility

Versions of NuxtJS before v2.4.0 are not supported by this package.

Usage

As this module extends @nuxtjs/applicationinsights you can use any of the functionality outlined in their docs

Options

Any of the options for @nuxtjs/applicationinsights will be respected by this module

envVar

  • Type: String
    • default AZURE_APP_INSIGHTS_KEY
    • Use this to specify the name of the ENV_VAR to use for the dynamic instrumentation key

Keywords

FAQs

Package last updated on 16 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc