Skip to content

Instantly share code, notes, and snippets.

@adityadeshpande
Created December 31, 2019 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adityadeshpande/f33528f364eb451e78a987e7a3504a39 to your computer and use it in GitHub Desktop.
Save adityadeshpande/f33528f364eb451e78a987e7a3504a39 to your computer and use it in GitHub Desktop.
const appInsights = require("applicationinsights")
let client = appInsights.defaultClient;
// this config part should be set in ENVIRONMENT VARIABLES
let config = {
Id: "xxxxxxxx-xxxx-xxxx-xxxx-26728f1bb4e9",
Name: "Server-Q12",
applicationInsightsKey: "xxxxxxxx-xxxx-xxxx-xxxx-d7a116b10831"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment