Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion web/landing/analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
posthog_client = Posthog(
project_api_key=os.environ.get("POSTHOG_PROJECT_TOKEN", ""),
host=os.environ.get("POSTHOG_HOST", "https://us.i.posthog.com"),
enable_exception_autocapture=True,
# Turned off: no background consumer thread, no exception autocapture.
# On Fluid the consumer thread kept the instance warm, billing provisioned
# memory and Active CPU continuously. With the client disabled, track() and
# the per-response flush() become no-ops and the instance can idle.
disabled=True,
enable_exception_autocapture=False,
)
atexit.register(posthog_client.shutdown)

Expand Down
Loading