feat(core): Add plan name to telemetry (no-changelog) (#7296)

Github issue / Community forum post (link here to close automatically):
This commit is contained in:
Omar Ajoue
2023-09-29 15:41:32 +02:00
committed by GitHub
parent 6a1557bc50
commit ec0379378e
4 changed files with 80 additions and 0 deletions

View File

@@ -410,6 +410,8 @@ export class Server extends AbstractServer {
smtp_set_up: config.getEnv('userManagement.emails.mode') === 'smtp',
ldap_allowed: isLdapCurrentAuthenticationMethod(),
saml_enabled: isSamlCurrentAuthenticationMethod(),
licensePlanName: Container.get(License).getPlanName(),
licenseTenantId: config.getEnv('license.tenantId'),
};
if (inDevelopment && process.env.N8N_DEV_RELOAD === 'true') {