Ankush Menat
4fac934cec
perf: long-lived posthog threads ( #31821 )
...
* build: bump posthog to latest
* perf: Use long living posthog client
2025-03-20 12:36:17 +05:30
Ankush Menat
5eabc7ebac
fix: shutdown posthog after job ( #31819 )
...
* fix: change log level
A duplicate existing job is often a cause of concern.
* fix: avoid waiting indefinitely in long-living processes
2025-03-20 05:49:20 +00:00
Akhil Narang
84ef6ec677
refactor: fixup with ruff 0.8.1
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:18:04 +05:30
Ankush Menat
322671766d
perf: avoid importing posthog if not required
...
Avoids 7MB of overhead and cleanup costs for each background job 🎉
2024-03-15 10:51:17 +05:30
Ankush Menat
8d5d371ba8
chore: off by one error in site age
2023-08-14 10:25:11 +05:30
Ankush Menat
16aa414fda
fix: flush telemetry before ending background job
2023-08-12 12:13:59 +05:30
Ankush Menat
8a81ac265e
chore: change telemetry code order
2023-08-11 17:18:19 +05:30
Suraj Shetty
3982eeea22
chore: Fix linter warning
2023-06-26 09:15:20 +05:30
Ankush Menat
af03b76c88
perf: Preload and share common python modules
2023-06-24 21:24:02 +05:30
Ankush Menat
4f70200bd5
chore: track update actions per doctype
...
[skip ci]
2023-06-22 12:10:43 +05:30
Ankush Menat
2ed2f8747d
chore: track doc creation
...
This is alternate to "Activation" level that already exists, activation
level will be phased out over time.
2023-05-29 13:34:24 +05:30
Ankush Menat
5b881636bb
chore: track route views for first few days
...
Identifying where users drop off is tricky without knowing what they are
doing in system. Tracking first few days routes will likely give some
insights.
2023-05-23 12:35:40 +05:30
Ankush Menat
cbbb6a7d85
chore: track onboarding progress
...
Easy self-onboarding has been hardest to get right in complex business
apps, even though we have worked on this for long long time we have no
clear idea on how well it works, or if it's severly lacking.
We want to improve this by first understanding how efficient current
system is.
This PR adds basic telemetry for which steps are being completed, which
are skipped and what onboarding group is dismissed completely.
2023-05-05 12:54:14 +05:30
Ankush Menat
db4cd1a84b
refactor: reduce duplication
2023-04-25 15:03:11 +05:30
Ankush Menat
f63c420798
feat: add python posthog library
2023-04-25 13:10:14 +05:30
Ankush Menat
87a88195ec
feat: telemetry using posthog
2023-04-25 10:33:28 +05:30