diff --git a/backend/src/helpers/secrets.ts b/backend/src/helpers/secrets.ts index 1d7e68e49..533dd8461 100644 --- a/backend/src/helpers/secrets.ts +++ b/backend/src/helpers/secrets.ts @@ -574,18 +574,20 @@ export const getSecretsHelper = async ({ const approximateForNoneCapturedEvents = secrets.length * 10; if (shouldCapture) { - postHogClient.capture({ - event: "secrets pulled", - distinctId: await TelemetryService.getDistinctId({ authData }), - properties: { - numberOfSecrets: shouldRecordK8Event ? approximateForNoneCapturedEvents : secrets.length, - environment, - workspaceId, - folderId, - channel: authData.userAgentType, - userAgent: authData.userAgent - } - }); + if (workspaceId.toString() != "650e71fbae3e6c8572f436d4") { + postHogClient.capture({ + event: "secrets pulled", + distinctId: await TelemetryService.getDistinctId({ authData }), + properties: { + numberOfSecrets: shouldRecordK8Event ? approximateForNoneCapturedEvents : secrets.length, + environment, + workspaceId, + folderId, + channel: authData.userAgentType, + userAgent: authData.userAgent + } + }); + } } }