We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ff759 commit 3a3683cCopy full SHA for 3a3683c
components/server/src/installation-admin/telemetry-data-provider.ts
@@ -26,8 +26,12 @@ export class InstallationAdminTelemetryDataProvider {
26
totalUsers: await this.userDb.getUserCount(true),
27
totalWorkspaces: await this.workspaceDb.getWorkspaceCount(),
28
totalInstances: await this.workspaceDb.getInstanceCount(),
29
- customerID: this.licenseEvaluator.getLicenseData().payload.customerID,
30
} as TelemetryData;
+
31
+ if (data.installationAdmin.settings.sendCustomerID) {
32
+ data.customerID = this.licenseEvaluator.getLicenseData().payload.customerID;
33
+ }
34
35
return data;
36
} finally {
37
span.finish();
0 commit comments