@salesforce/telemetry 3.2.0 → 3.2.2
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.
- package/LICENSE.txt +1 -1
- package/lib/appInsights.d.ts +2 -2
- package/lib/appInsights.js +7 -7
- package/lib/exported.js +5 -1
- package/lib/telemetryReporter.d.ts +3 -3
- package/lib/telemetryReporter.js +9 -11
- package/package.json +27 -26
- package/CHANGELOG.md +0 -208
- package/messages/telemetry.js +0 -5
package/LICENSE.txt
CHANGED
package/lib/appInsights.d.ts
CHANGED
|
@@ -62,14 +62,14 @@ export declare class AppInsights extends AsyncCreatable<TelemetryOptions> {
|
|
|
62
62
|
/**
|
|
63
63
|
* Publishes diagnostic information to app insights dashboard
|
|
64
64
|
*
|
|
65
|
-
* @param
|
|
65
|
+
* @param traceMessage {string} - trace message to sen to app insights.
|
|
66
66
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
67
67
|
*/
|
|
68
68
|
sendTelemetryTrace(traceMessage: string, properties?: Properties): void;
|
|
69
69
|
/**
|
|
70
70
|
* Publishes metric to app insights dashboard
|
|
71
71
|
*
|
|
72
|
-
* @param
|
|
72
|
+
* @param metricName {string} - name of the metric you want published
|
|
73
73
|
* @param value {number} - value of the metric
|
|
74
74
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
75
75
|
*/
|
package/lib/appInsights.js
CHANGED
|
@@ -14,7 +14,6 @@ const ts_types_1 = require("@salesforce/ts-types");
|
|
|
14
14
|
const appInsights = require("applicationinsights");
|
|
15
15
|
var applicationinsights_1 = require("applicationinsights");
|
|
16
16
|
Object.defineProperty(exports, "TelemetryClient", { enumerable: true, get: function () { return applicationinsights_1.TelemetryClient; } });
|
|
17
|
-
core_1.Messages.importMessagesDirectory(__dirname);
|
|
18
17
|
function getPlatformVersion() {
|
|
19
18
|
return (os.release() || '').replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/, '$1$2$3');
|
|
20
19
|
}
|
|
@@ -39,7 +38,7 @@ const sanitizeError = (err) => {
|
|
|
39
38
|
}
|
|
40
39
|
if (err.stack) {
|
|
41
40
|
// there might be lots of this one
|
|
42
|
-
err.stack = err.stack.replace(new RegExp(
|
|
41
|
+
err.stack = err.stack.replace(new RegExp(`\b${homeDir}\b`, 'gi'), '~');
|
|
43
42
|
}
|
|
44
43
|
return err;
|
|
45
44
|
};
|
|
@@ -47,7 +46,7 @@ function getSystemMemory() {
|
|
|
47
46
|
return `${(os.totalmem() / (1024 * 1024 * 1024)).toFixed(2)} GB`;
|
|
48
47
|
}
|
|
49
48
|
function isAsimovKey(key) {
|
|
50
|
-
return !!
|
|
49
|
+
return !!key?.startsWith('AIF-');
|
|
51
50
|
}
|
|
52
51
|
function buildPropertiesAndMeasurements(attributes) {
|
|
53
52
|
const properties = {};
|
|
@@ -78,7 +77,7 @@ class AppInsights extends kit_1.AsyncCreatable {
|
|
|
78
77
|
super(options);
|
|
79
78
|
this.gdprSensitiveKeys = [];
|
|
80
79
|
this.options = options;
|
|
81
|
-
this.env = this.options.env
|
|
80
|
+
this.env = this.options.env ?? new kit_1.Env();
|
|
82
81
|
if (this.options.gdprSensitiveKeys) {
|
|
83
82
|
this.gdprSensitiveKeys = this.options.gdprSensitiveKeys;
|
|
84
83
|
}
|
|
@@ -119,7 +118,7 @@ class AppInsights extends kit_1.AsyncCreatable {
|
|
|
119
118
|
/**
|
|
120
119
|
* Publishes diagnostic information to app insights dashboard
|
|
121
120
|
*
|
|
122
|
-
* @param
|
|
121
|
+
* @param traceMessage {string} - trace message to sen to app insights.
|
|
123
122
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
124
123
|
*/
|
|
125
124
|
sendTelemetryTrace(traceMessage, properties) {
|
|
@@ -129,7 +128,7 @@ class AppInsights extends kit_1.AsyncCreatable {
|
|
|
129
128
|
/**
|
|
130
129
|
* Publishes metric to app insights dashboard
|
|
131
130
|
*
|
|
132
|
-
* @param
|
|
131
|
+
* @param metricName {string} - name of the metric you want published
|
|
133
132
|
* @param value {number} - value of the metric
|
|
134
133
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
135
134
|
*/
|
|
@@ -137,6 +136,7 @@ class AppInsights extends kit_1.AsyncCreatable {
|
|
|
137
136
|
this.logger.debug(`Sending telemetry metric: ${metricName}`);
|
|
138
137
|
this.appInsightsClient.trackMetric({ name: metricName, value, properties });
|
|
139
138
|
}
|
|
139
|
+
// eslint-disable-next-line class-methods-use-this
|
|
140
140
|
start() {
|
|
141
141
|
// Start data collection services
|
|
142
142
|
appInsights.start();
|
|
@@ -175,7 +175,7 @@ class AppInsights extends kit_1.AsyncCreatable {
|
|
|
175
175
|
'common.os': os.platform(),
|
|
176
176
|
'common.platformversion': getPlatformVersion(),
|
|
177
177
|
'common.systemmemory': getSystemMemory(),
|
|
178
|
-
'common.usertype': this.env.getString('SFDX_USER_TYPE')
|
|
178
|
+
'common.usertype': this.env.getString('SFDX_USER_TYPE') ?? 'normal',
|
|
179
179
|
};
|
|
180
180
|
return Object.assign(baseProperties, this.options.commonProperties);
|
|
181
181
|
}
|
package/lib/exported.js
CHANGED
|
@@ -7,7 +7,11 @@
|
|
|
7
7
|
'use strict';
|
|
8
8
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9
9
|
if (k2 === undefined) k2 = k;
|
|
10
|
-
Object.
|
|
10
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
11
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
12
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
13
|
+
}
|
|
14
|
+
Object.defineProperty(o, k2, desc);
|
|
11
15
|
}) : (function(o, m, k, k2) {
|
|
12
16
|
if (k2 === undefined) k2 = k;
|
|
13
17
|
o[k2] = m[k];
|
|
@@ -41,20 +41,20 @@ export declare class TelemetryReporter extends AsyncCreatable<TelemetryOptions>
|
|
|
41
41
|
* Sends exception to child process.
|
|
42
42
|
*
|
|
43
43
|
* @param exception {Error} - exception you want published.
|
|
44
|
-
* @param
|
|
44
|
+
* @param attributes {Attributes} - map of measurements to publish alongside the event.
|
|
45
45
|
*/
|
|
46
46
|
sendTelemetryException(exception: Error, attributes?: Attributes): void;
|
|
47
47
|
/**
|
|
48
48
|
* Publishes diagnostic information to app insights dashboard
|
|
49
49
|
*
|
|
50
|
-
* @param
|
|
50
|
+
* @param traceMessage {string} - trace message to sen to app insights.
|
|
51
51
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
52
52
|
*/
|
|
53
53
|
sendTelemetryTrace(traceMessage: string, properties?: Properties): void;
|
|
54
54
|
/**
|
|
55
55
|
* Publishes metric to app insights dashboard
|
|
56
56
|
*
|
|
57
|
-
* @param
|
|
57
|
+
* @param metricName {string} - name of the metric you want published
|
|
58
58
|
* @param value {number} - value of the metric
|
|
59
59
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
60
60
|
*/
|
package/lib/telemetryReporter.js
CHANGED
|
@@ -29,17 +29,16 @@ class TelemetryReporter extends kit_1.AsyncCreatable {
|
|
|
29
29
|
*/
|
|
30
30
|
static async determineSfdxTelemetryEnabled() {
|
|
31
31
|
if (!TelemetryReporter.config) {
|
|
32
|
-
TelemetryReporter.config = await core_1.
|
|
32
|
+
TelemetryReporter.config = await core_1.SfdxConfigAggregator.create({});
|
|
33
33
|
}
|
|
34
34
|
const configValue = TelemetryReporter.config.getPropertyValue(DISABLE_TELEMETRY);
|
|
35
35
|
const sfdxDisableInsights = configValue === 'true' || kit_1.env.getBoolean('SFDX_DISABLE_INSIGHTS');
|
|
36
|
-
|
|
37
|
-
return isEnabled;
|
|
36
|
+
return !sfdxDisableInsights;
|
|
38
37
|
}
|
|
39
38
|
async init() {
|
|
40
39
|
this.logger = await core_1.Logger.child('TelemetryReporter');
|
|
41
40
|
if (!TelemetryReporter.config) {
|
|
42
|
-
TelemetryReporter.config = await core_1.
|
|
41
|
+
TelemetryReporter.config = await core_1.SfdxConfigAggregator.create({});
|
|
43
42
|
}
|
|
44
43
|
this.config = TelemetryReporter.config;
|
|
45
44
|
if (this.options.waitForConnection)
|
|
@@ -111,20 +110,19 @@ class TelemetryReporter extends kit_1.AsyncCreatable {
|
|
|
111
110
|
* Sends exception to child process.
|
|
112
111
|
*
|
|
113
112
|
* @param exception {Error} - exception you want published.
|
|
114
|
-
* @param
|
|
113
|
+
* @param attributes {Attributes} - map of measurements to publish alongside the event.
|
|
115
114
|
*/
|
|
116
115
|
sendTelemetryException(exception, attributes = {}) {
|
|
117
116
|
if (this.isSfdxTelemetryEnabled()) {
|
|
118
117
|
// Scrub stack for GDPR
|
|
119
|
-
exception.stack =
|
|
120
|
-
exception.stack && exception.stack.replace(new RegExp(os.homedir(), 'g'), appInsights_1.AppInsights.GDPR_HIDDEN);
|
|
118
|
+
exception.stack = exception.stack?.replace(new RegExp(os.homedir(), 'g'), appInsights_1.AppInsights.GDPR_HIDDEN);
|
|
121
119
|
this.reporter.sendTelemetryException(exception, attributes);
|
|
122
120
|
}
|
|
123
121
|
}
|
|
124
122
|
/**
|
|
125
123
|
* Publishes diagnostic information to app insights dashboard
|
|
126
124
|
*
|
|
127
|
-
* @param
|
|
125
|
+
* @param traceMessage {string} - trace message to sen to app insights.
|
|
128
126
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
129
127
|
*/
|
|
130
128
|
sendTelemetryTrace(traceMessage, properties) {
|
|
@@ -135,7 +133,7 @@ class TelemetryReporter extends kit_1.AsyncCreatable {
|
|
|
135
133
|
/**
|
|
136
134
|
* Publishes metric to app insights dashboard
|
|
137
135
|
*
|
|
138
|
-
* @param
|
|
136
|
+
* @param metricName {string} - name of the metric you want published
|
|
139
137
|
* @param value {number} - value of the metric
|
|
140
138
|
* @param properties {Properties} - map of properties to publish alongside the event.
|
|
141
139
|
*/
|
|
@@ -151,8 +149,8 @@ class TelemetryReporter extends kit_1.AsyncCreatable {
|
|
|
151
149
|
isSfdxTelemetryEnabled() {
|
|
152
150
|
const configValue = this.config.getPropertyValue(DISABLE_TELEMETRY);
|
|
153
151
|
const sfdxDisableInsights = configValue === 'true' || kit_1.env.getBoolean('SFDX_DISABLE_INSIGHTS');
|
|
154
|
-
|
|
155
|
-
return
|
|
152
|
+
// isEnabled = !sfdxDisableInsights
|
|
153
|
+
return !sfdxDisableInsights;
|
|
156
154
|
}
|
|
157
155
|
logTelemetryStatus() {
|
|
158
156
|
const isEnabled = this.isSfdxTelemetryEnabled();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/telemetry",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Library for application insights",
|
|
5
5
|
"main": "lib/exported",
|
|
6
6
|
"repository": "forcedotcom/telemetry",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"format": "sf-format",
|
|
16
16
|
"lint": "sf-lint",
|
|
17
17
|
"lint-fix": "yarn sfdx-lint --fix",
|
|
18
|
-
"prepack": "sf-
|
|
19
|
-
"prepare": "
|
|
18
|
+
"prepack": "sf-prepack",
|
|
19
|
+
"prepare": "sf-install",
|
|
20
20
|
"pretest": "sf-compile-test",
|
|
21
21
|
"test": "sf-test"
|
|
22
22
|
},
|
|
@@ -33,37 +33,38 @@
|
|
|
33
33
|
"!lib/**/*.map"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@salesforce/core": "^
|
|
37
|
-
"@salesforce/ts-types": "^1.
|
|
36
|
+
"@salesforce/core": "^3.31.10",
|
|
37
|
+
"@salesforce/ts-types": "^1.5.20",
|
|
38
38
|
"applicationinsights": "^1.4.0",
|
|
39
|
-
"axios": "^0.
|
|
39
|
+
"axios": "^0.27.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@salesforce/dev-config": "^
|
|
43
|
-
"@salesforce/dev-scripts": "^
|
|
44
|
-
"@salesforce/prettier-config": "^0.0.
|
|
45
|
-
"@salesforce/ts-sinon": "^1.
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
47
|
-
"@typescript-eslint/parser": "^
|
|
42
|
+
"@salesforce/dev-config": "^3.0.1",
|
|
43
|
+
"@salesforce/dev-scripts": "^3.1.0",
|
|
44
|
+
"@salesforce/prettier-config": "^0.0.2",
|
|
45
|
+
"@salesforce/ts-sinon": "^1.4.0",
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
|
47
|
+
"@typescript-eslint/parser": "^5.40.0",
|
|
48
48
|
"chai": "^4.2.0",
|
|
49
|
-
"eslint": "^
|
|
50
|
-
"eslint-config-prettier": "^
|
|
51
|
-
"eslint-config-salesforce": "^
|
|
52
|
-
"eslint-config-salesforce-license": "^0.1.
|
|
53
|
-
"eslint-config-salesforce-typescript": "^
|
|
49
|
+
"eslint": "^8.25.0",
|
|
50
|
+
"eslint-config-prettier": "^8.5.0",
|
|
51
|
+
"eslint-config-salesforce": "^1.1.0",
|
|
52
|
+
"eslint-config-salesforce-license": "^0.1.6",
|
|
53
|
+
"eslint-config-salesforce-typescript": "^1.1.1",
|
|
54
54
|
"eslint-plugin-header": "^3.0.0",
|
|
55
|
-
"eslint-plugin-import": "
|
|
56
|
-
"eslint-plugin-jsdoc": "^
|
|
57
|
-
"
|
|
58
|
-
"mocha": "^
|
|
55
|
+
"eslint-plugin-import": "2.26.0",
|
|
56
|
+
"eslint-plugin-jsdoc": "^39.3.6",
|
|
57
|
+
"husky": "^7.0.4",
|
|
58
|
+
"mocha": "^9.1.3",
|
|
59
59
|
"nyc": "^15.1.0",
|
|
60
|
-
"prettier": "^2.
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
60
|
+
"prettier": "^2.7.1",
|
|
61
|
+
"pretty-quick": "^3.1.0",
|
|
62
|
+
"sinon": "10.0.0",
|
|
63
|
+
"ts-node": "^10.0.0",
|
|
64
|
+
"typescript": "^4.8.4"
|
|
64
65
|
},
|
|
65
66
|
"types": "lib/exported.d.ts",
|
|
66
67
|
"publishConfig": {
|
|
67
68
|
"access": "public"
|
|
68
69
|
}
|
|
69
|
-
}
|
|
70
|
+
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
## [3.2.0](https://github.com/forcedotcom/telemetry/compare/v3.0.0...v3.2.0) (2022-01-06)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* bump version of core and axios ([376ae9c](https://github.com/forcedotcom/telemetry/commit/376ae9c2c2c26517f2ede7e1ac7b065caeca9390))
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Bug Fixes
|
|
14
|
-
|
|
15
|
-
* release 3.0.1 ([050953a](https://github.com/forcedotcom/telemetry/commit/050953a117a4f3c6c5a2100d2a47e80719e64976))
|
|
16
|
-
* replace homedir ([2bcb2ed](https://github.com/forcedotcom/telemetry/commit/2bcb2ede66dc7ef3c14cb40d530fb34530b84147))
|
|
17
|
-
* sanitizing exception strings ([b12c52c](https://github.com/forcedotcom/telemetry/commit/b12c52cad97b736bcb0e5968c8427ae89f0d8397))
|
|
18
|
-
* sinon types match sinon ([4cbefbf](https://github.com/forcedotcom/telemetry/commit/4cbefbf4ded50b4fdd1f451e27aba449c886b481))
|
|
19
|
-
* typescript bump and fixes ([012bcff](https://github.com/forcedotcom/telemetry/commit/012bcffee2655705b0e97684eec20b81d3f9e6f2))
|
|
20
|
-
|
|
21
|
-
## 3.0.0 (2021-07-08)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
### Features
|
|
25
|
-
|
|
26
|
-
* publish ([9336302](https://github.com/forcedotcom/telemetry/commit/9336302f15b43bd824ec70fe604e05a6bb2f5ba2))
|
|
27
|
-
|
|
28
|
-
## [2.0.6](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@2.0.5...@salesforce/telemetry@2.0.6) (2021-05-11)
|
|
29
|
-
|
|
30
|
-
**Note:** Version bump only for package @salesforce/telemetry
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
## [2.0.5](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@2.0.4...@salesforce/telemetry@2.0.5) (2021-01-22)
|
|
37
|
-
|
|
38
|
-
**Note:** Version bump only for package @salesforce/telemetry
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
## [2.0.4](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@2.0.3...@salesforce/telemetry@2.0.4) (2020-11-13)
|
|
45
|
-
|
|
46
|
-
**Note:** Version bump only for package @salesforce/telemetry
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
## [2.0.3](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@2.0.2...@salesforce/telemetry@2.0.3) (2020-11-11)
|
|
53
|
-
|
|
54
|
-
**Note:** Version bump only for package @salesforce/telemetry
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
## [2.0.2](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@2.0.1...@salesforce/telemetry@2.0.2) (2020-03-02)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
### Bug Fixes
|
|
64
|
-
|
|
65
|
-
* check connection to app insights ([d4d5748](https://github.com/forcedotcom/cli-packages/commit/d4d5748))
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
## [2.0.1](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@2.0.0...@salesforce/telemetry@2.0.1) (2020-01-31)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
### Bug Fixes
|
|
75
|
-
|
|
76
|
-
* add old envar for backwards compatability ([8a86933](https://github.com/forcedotcom/cli-packages/commit/8a86933))
|
|
77
|
-
* use old envar for backwards support ([a2fb4b4](https://github.com/forcedotcom/cli-packages/commit/a2fb4b4))
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
# [2.0.0](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@1.3.0...@salesforce/telemetry@2.0.0) (2020-01-29)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
### Bug Fixes
|
|
87
|
-
|
|
88
|
-
* add ability to override gdpr keys ([183282a](https://github.com/forcedotcom/cli-packages/commit/183282a))
|
|
89
|
-
* cache config and add static for consumers to call ([ab2a5c0](https://github.com/forcedotcom/cli-packages/commit/ab2a5c0))
|
|
90
|
-
* **gdpr:** adds logic to clear gdpr sentive tags + test ([5e55c88](https://github.com/forcedotcom/cli-packages/commit/5e55c88))
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
### Features
|
|
94
|
-
|
|
95
|
-
* remove forked process in favor or dispose ([b997f5e](https://github.com/forcedotcom/cli-packages/commit/b997f5e))
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### BREAKING CHANGES
|
|
99
|
-
|
|
100
|
-
* Refactor/remove the telemetry signatures. Remove the forked process. Requires a
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
# [1.3.0](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@1.2.5...@salesforce/telemetry@1.3.0) (2020-01-13)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
### Bug Fixes
|
|
110
|
-
|
|
111
|
-
* alias telemetry types as TelemetryData ([b7e05ff](https://github.com/forcedotcom/cli-packages/commit/b7e05ff))
|
|
112
|
-
* fix merge error ([b1be6bd](https://github.com/forcedotcom/cli-packages/commit/b1be6bd))
|
|
113
|
-
* flag type when passing data to child process ([0e5204b](https://github.com/forcedotcom/cli-packages/commit/0e5204b))
|
|
114
|
-
* misspelled 'exception' ([088b604](https://github.com/forcedotcom/cli-packages/commit/088b604))
|
|
115
|
-
* refactor common logic to new function ([1bd097e](https://github.com/forcedotcom/cli-packages/commit/1bd097e))
|
|
116
|
-
* use config var to opt out of telemetry ([2f0360d](https://github.com/forcedotcom/cli-packages/commit/2f0360d))
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
### Features
|
|
120
|
-
|
|
121
|
-
* add more telemetry types for AppInsights ([7456912](https://github.com/forcedotcom/cli-packages/commit/7456912))
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
## [1.2.5](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@1.2.4...@salesforce/telemetry@1.2.5) (2019-11-04)
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* poke circle ([849640d](https://github.com/forcedotcom/cli-packages/commit/849640d))
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## [1.2.4](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@1.2.3...@salesforce/telemetry@1.2.4) (2019-11-04)
|
|
139
|
-
|
|
140
|
-
**Note:** Version bump only for package @salesforce/telemetry
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
## [1.2.3](https://github.com/forcedotcom/cli-packages/compare/@salesforce/telemetry@1.2.2...@salesforce/telemetry@1.2.3) (2019-11-04)
|
|
147
|
-
|
|
148
|
-
**Note:** Version bump only for package @salesforce/telemetry
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
## [1.2.2](https://github.com/forcedotcom/sfdx-telemetry/compare/@salesforce/telemetry@1.2.1...@salesforce/telemetry@1.2.2) (2019-08-08)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
### Bug Fixes
|
|
158
|
-
|
|
159
|
-
* spawn telemetry reporter in separate process ([5fa3345](https://github.com/forcedotcom/sfdx-telemetry/commit/5fa3345))
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
## [1.2.1](https://github.com/forcedotcom/sfdx-telemetry/compare/@salesforce/telemetry@1.2.0...@salesforce/telemetry@1.2.1) (2019-08-01)
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
### Bug Fixes
|
|
169
|
-
|
|
170
|
-
* prettier ([119b1e5](https://github.com/forcedotcom/sfdx-telemetry/commit/119b1e5))
|
|
171
|
-
* prettier updates ([735ee52](https://github.com/forcedotcom/sfdx-telemetry/commit/735ee52))
|
|
172
|
-
* provide the ability to opt out of insights ([50debf0](https://github.com/forcedotcom/sfdx-telemetry/commit/50debf0))
|
|
173
|
-
* remove nested if ([774ae02](https://github.com/forcedotcom/sfdx-telemetry/commit/774ae02))
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
# [1.2.0](https://github.com/forcedotcom/sfdx-telemetry/compare/@salesforce/telemetry@1.1.0...@salesforce/telemetry@1.2.0) (2019-07-17)
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Bug Fixes
|
|
183
|
-
|
|
184
|
-
* telemetry test coverage ([0cb7c39](https://github.com/forcedotcom/sfdx-telemetry/commit/0cb7c39))
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
### Features
|
|
188
|
-
|
|
189
|
-
* updating core ([cd4e6b0](https://github.com/forcedotcom/sfdx-telemetry/commit/cd4e6b0))
|
|
190
|
-
* upgrade core ([4696c5f](https://github.com/forcedotcom/sfdx-telemetry/commit/4696c5f))
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
# 1.1.0 (2019-07-16)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
### Bug Fixes
|
|
200
|
-
|
|
201
|
-
* adjust water mark ([6c4f213](https://github.com/forcedotcom/sfdx-telemetry/commit/6c4f213))
|
|
202
|
-
* lodash security warning ([d6a7f69](https://github.com/forcedotcom/sfdx-telemetry/commit/d6a7f69))
|
|
203
|
-
* update test tsconfig ([3773864](https://github.com/forcedotcom/sfdx-telemetry/commit/3773864))
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
### Features
|
|
207
|
-
|
|
208
|
-
* new telemetry project ([d29f0c5](https://github.com/forcedotcom/sfdx-telemetry/commit/d29f0c5))
|
package/messages/telemetry.js
DELETED