feat: Toggle telemetry with telemetry enabled env variable
This commit is contained in:
@@ -26,6 +26,10 @@ class Telemetry {
|
||||
}
|
||||
|
||||
track(name: string, properties: apiObject) {
|
||||
if (!appConfig.telemetryEnabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
properties = {
|
||||
...properties,
|
||||
appEnv: appConfig.appEnv,
|
||||
|
Reference in New Issue
Block a user