PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
19.35k stars 1.13k forks source link

feat(ingestion): add kill switch for alpha heatmaps feature #23327

Closed xvello closed 4 days ago

xvello commented 4 days ago

Problem

The heatmap features shows an event amplification behaviour that puts a high load on Kafka. As all experimental features, we should be able to turn it off to avoid incidents.

We can phase that option out when more granular config is implemented, by checking the team's PG config like blobby does.

Changes

Does this work well for both Cloud and self-hosted?

How did you test this code?

Unit tests