botbuilder-instrumentation
Advanced tools
Comparing version 1.0.6 to 1.0.7
10
main.ts
@@ -154,6 +154,10 @@ import * as util from 'util'; | ||
ApplicationInsights.setup(this.settings.instrumentationKey).start(); | ||
ApplicationInsights.setup(this.settings.instrumentationKey) | ||
.setAutoCollectConsole(true) | ||
.setAutoCollectExceptions(true) | ||
.setAutoCollectRequests(true) | ||
.start(); | ||
this.appInsightsClient = ApplicationInsights.getClient(this.settings.instrumentationKey); | ||
this.setupConsoleCollection(); | ||
//this.setupConsoleCollection(); | ||
@@ -163,3 +167,3 @@ // Adding middleware to intercept all user messages | ||
bot.use({ | ||
botbuilder: function (session, next) { | ||
botbuilder: (session, next) => { | ||
@@ -166,0 +170,0 @@ try { |
{ | ||
"name": "botbuilder-instrumentation", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
"main": "main.js", | ||
"main": "dist/main.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
@@ -6,2 +6,3 @@ { | ||
"allowJs": true, | ||
"outDir": "dist", | ||
"moduleResolution": "node", | ||
@@ -15,3 +16,4 @@ "forceConsistentCasingInFileNames": true, | ||
"exclude": [ | ||
"node_modules" | ||
"node_modules", | ||
"dist" | ||
], | ||
@@ -18,0 +20,0 @@ "types": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61886
13
1573
13