remove certain python sdk events

This commit is contained in:
Vladyslav Matsiiako
2024-02-04 09:37:56 -08:00
parent 4a566cf83f
commit 38ed39c2f8

View File

@@ -479,7 +479,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
}
}
const shouldCapture = req.headers["user-agent"] !== "k8-operator" || shouldRecordK8Event;
const shouldCapture = (req.query.workspaceId != "650e71fbae3e6c8572f436d4") && (req.headers["user-agent"] !== "k8-operator" || shouldRecordK8Event);
const approximateNumberTotalSecrets = secrets.length * 20;
if (shouldCapture) {
server.services.telemetry.sendPostHogEvents({