@mhubcloud/tms_core 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/utils.js +4 -0
  2. package/package.json +1 -1
package/lib/utils.js CHANGED
@@ -9,6 +9,10 @@ if (process.env.APPINSIGHTS_INSTRUMENTATIONKEY) {
9
9
  appInsights
10
10
  .setup() //Set einvironmet variable APPINSIGHTS_INSTRUMENTATIONKEY, so setup() can be called w/o parameters
11
11
  .setAutoCollectDependencies(false)
12
+ .setAutoCollectConsole(true, true)
13
+ .setSendLiveMetrics(false)
14
+ .setAutoCollectRequests(false)
15
+ .setAutoCollectPerformance(false)
12
16
  .setUseDiskRetryCaching(false)
13
17
  .start();
14
18
  aiClient = appInsights.defaultClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhubcloud/tms_core",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Core function for mHub Cloud TMS publishers",
5
5
  "homepage": "https://mhubcloud.com/",
6
6
  "license": "Apache 2.0",