mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 19:26:07 +00:00
Merge pull request #1367 from Infisical/fix-ph-events
remove certain python sdk events
This commit is contained in:
@@ -479,7 +479,9 @@ 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;
|
const approximateNumberTotalSecrets = secrets.length * 20;
|
||||||
if (shouldCapture) {
|
if (shouldCapture) {
|
||||||
server.services.telemetry.sendPostHogEvents({
|
server.services.telemetry.sendPostHogEvents({
|
||||||
|
|||||||
Reference in New Issue
Block a user