Eric Bailey
96f4f6359a
Logger metrics ( #7867 )
...
* Adjust datalake abstraction
(cherry picked from commit 8ba6a8d45b1bd5698afbd06d9e858a91789f0ea6)
* Just be really really specific
(cherry picked from commit 920198959659329a7f7f7282a1293aaad198d8e3)
* Add metric method to logger, replace datalake calls with new method
(cherry picked from commit 7a026bbeae75514b64f928d7ff59707c518fd5e5)
* Clarify types
(cherry picked from commit 422b150deb158a70ef37e8a456d91bf26cd0b1bc)
2025-02-28 17:13:49 -06:00
Eric Bailey
36a7a8d8c6
Colocate bitdrift in logger, use logger for transport ( #7868 )
...
* Colocate bitdrift in logger, use logger for transport
(cherry picked from commit cdd6941fd7 )
* Fix mocks, format
(cherry picked from commit 9de88660c6 )
* Ok I guess mocks dir doesn't work
(cherry picked from commit 9f37e52011 )
2025-02-28 12:46:27 -06:00
Hailey
78419beeb0
use did for userID ( #7647 )
2025-02-04 11:16:15 -08:00
Snow Pettersen
5f9f81f86c
Reenable bitdrift ( #7405 )
2025-01-21 20:44:31 +00:00
dan
c2ca84c636
Temporarily remove Bitdrift ( #7173 )
...
* Temporarily remove Bitdrift
* Rm plugin
2024-12-19 01:16:32 +00:00
dan
32611391a3
Pipe statsig events to logger ( #7141 )
...
* Pipe statsig events to logger
* Log rich objects to bitdrift
* Fix tests
* Consolidate mocks, fix tests
* Reduce log trash on native
2024-12-17 12:22:09 +00:00
dan
e2a7965e43
Gate bitdrift integration ( #7088 )
...
* Move Statsig init call earlier
* Gate Bitdrift init call
* Remove IS_TEST env constant
* Mock statsig
2024-12-13 17:14:41 +00:00
Hailey
3bd1437133
[Statsig] Remove client downsampling ( #6153 )
2024-11-15 11:40:43 -08:00
Hailey
72270fd505
tweak downsample rate to 1% ( #5836 )
...
Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com >
2024-10-18 12:23:55 -07:00
Hailey
c8be9b78c6
[Statsig] Add more events to downsample, increase downsample rate ( #5198 )
...
* add some events for sampling
* include downsample rate in metadata
* fix metadata logic
* uncomment debug
2024-09-07 13:13:51 +02:00
dan
8860890a85
Don't log extra background events ( #5134 )
2024-09-04 15:41:42 +02:00
Hailey
8b121af2e4
referrers for all platforms ( #4514 )
2024-07-11 18:43:10 -07:00
dan
1715afd80e
[Statsig] Send Discover aggregate interactions ( #4599 )
2024-06-22 03:54:47 +03:00
Eric Bailey
332524b7de
Add native_pwi_disabled feature gate experiment ( #4507 )
...
* Add native_pwi_disabled feature gate experiment
* Use const
2024-06-17 13:21:09 -05:00
Samuel Newman
bdeac28d74
Try/catch URL parsing of referrer ( #4511 )
2024-06-13 15:06:22 -07:00
Hailey
d9066a6beb
add document.referrer to statsig custom ( #4509 )
...
* add referrer to statsig custom
dont include referrer if hostname is bsky.app
save
add `document.referrer` to statsig custom
* add a hostname field
* account for ssr
* account for ssr
2024-06-13 23:31:19 +02:00
Hailey
8e2c21a882
Don't log downsample warning when unnecessary ( #4291 )
...
* fix log
use process.env
ensure the log happens regardless of `isDownsampledSession`
fix log
* oops, revert test
2024-05-31 01:52:56 +01:00
dan
d6275e98c2
[Statsig] Sample noisy events ( #4288 )
...
* Sample state:background and state:foreground
* Sample feed events
* Add DEV protection against forgetting to add events to the list
2024-05-30 16:32:59 +01:00
Hailey
af20229b41
Add bundleDate, bundleIdentifier to StatsigUser ( #4199 )
...
* record event for fetched ota update
* Revert "record event for fetched ota update"
This reverts commit 4b49efe036 .
* add `bundleDate` to `StatsigUser`
* include `bundleIdentifier` too
* move to `custom`
2024-05-23 19:52:36 +01:00
dan
d6625c29d1
[Statsig] Sample router events ( #4143 )
2024-05-20 20:28:12 -07:00
dan
4fa92d7a49
[Statsig] Fix exposure logging for reduced onboarding ( #4131 )
...
* Add dangerouslyDisableExposureLogging option
* Rename onboarding gate to v2
* Disable exposure logging for onboarding in PostFeed query
2024-05-21 00:17:57 +01:00
Paul Frazee
107760d551
Add better onboard testing ( #4007 )
2024-05-13 20:23:31 -07:00
dan
c42a557417
[Statsig] Send locale info ( #3621 )
2024-04-19 15:51:41 +01:00
dan
bef7d8a325
[Statsig] Slightly block the UI on gates ( #3608 )
2024-04-18 17:53:51 +01:00
dan
6101c32bd9
[Statsig] Prefetch configs for other accounts ( #3607 )
...
* Poll both current and other accounts
* Make createStatsigOptions a function
* Pass prefetchUsers with the initial request
* Add initializeCalled check
* Be resilient to object identity changes
* Decrease poll interval to 1 minute
2024-04-18 16:26:05 +01:00
dan
41b5b5b283
Add our own cache in front of Statsig ( #3604 )
2024-04-18 15:28:24 +01:00
dan
02becdf449
[Statsig] Make gate checks lazily ( #3594 )
2024-04-18 04:39:29 +01:00
dan
71c427cea8
Make ref_ always strings ( #3583 )
...
* Make ref_ always strings
* Harden types
2024-04-16 21:55:12 +01:00
dan
a66c9d0bc4
Always send ref_ params ( #3582 )
2024-04-16 21:28:39 +01:00
dan
1390b1dc9e
[Statsig] Send ref source ( #3531 )
...
* [Statsig] Send ref source
* Add is web check
* Fix types
2024-04-13 12:09:49 +01:00
dan
bedb0c3fbd
Use getSuggestions endpoint behind the gate ( #3499 )
...
* Move suggested follows out of the component
* Add new suggestions implementation
* Put new endpoint behind the gate
* Make bottom less weird
2024-04-12 13:02:15 +01:00
dan
310d865440
[Statsig] Mark Testflight as staging tier ( #3470 )
2024-04-10 20:08:46 +01:00
dan
427f3a848d
[Statsig] Typecheck gates ( #3467 )
...
* Typecheck gates
* Lint against untyped useGate()
* Alphabetic
2024-04-10 19:36:37 +01:00
dan
887fedabea
[Statsig] Track like/follow metadata ( #3435 )
...
* Track becoming mutuals
* Track poster/liker status
* Track post and followee clout
* Track follower and liker clout
* Extract utility
2024-04-08 18:38:51 +01:00
dan
1150007d37
Auto-expand follow suggestions on web ( #3432 )
2024-04-08 17:20:58 +01:00
dan
df7f9856bb
Use logger.error instead of rethrow ( #3323 )
2024-03-21 14:39:19 -07:00
dan
55fb81867b
[Statsig] Protect against early logEvent call crashing ( #3315 )
...
* [Statsig] Check if initialized
* Never interrupt the caller
2024-03-21 17:01:55 +00:00
dan
396d183dfc
[Statsig] Onboarding and routing events ( #3302 )
2024-03-21 11:04:02 +00:00
dan
20337ceef1
[Statsig] Track active time ( #3289 )
2024-03-19 20:25:37 -07:00
dan
5bec587717
[Statsig] Include OS and track app state changes ( #3273 )
...
* Include platform in identify
* Track back/foregrounding
2024-03-19 13:11:26 -07:00
dan
7eaa573b57
[Statsig] Track likes, reposts, follows ( #3195 )
...
* [Statsig] Track likes
* Move tracking to intent
* Track repost/unrepost
* Track profile follows/unfollows
* Less copy paste
* Reorder
2024-03-13 22:31:51 +00:00
dan
f1d55f49fa
Send route name with Statsig events ( #3194 )
...
* Add types to Statsig events
* Send route name with events
2024-03-13 03:29:03 +00:00
dan
aad8c080ed
Poll Statsig for config changes ( #3158 )
2024-03-08 16:29:31 -08:00
dan
dd86d0964d
Enable gating and experimentation on native, send init event ( #3149 )
...
* Add the mobile fork
* Add init event
2024-03-08 04:33:42 +00:00
dan
eb298d2e60
Initial feature gating and A/B testing integration ( #3122 )
...
* Add statsig dependency
* Add SDK provider
* Move to separate file, add tier and hashing
* Disable local storage for now
* Add initial gate testing fixture
* Fork for web just in case
* More WIP
* wip
* Rm test gate
* Add shim on native
* Clarify
2024-03-06 05:55:34 +00:00