-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create event property model * add null * rename cache vars * update event properties table on ingestion * match date formats * match date formats * better string handling * property type can be null too * pass event timestamp * update property type later * perform all updates through a buffer object * move to EventPropertyCounter * fix migration * improve flush last seen at job * flush job periodically + env * upsert all event properties in 1 query * log to statsd * enable property counter only if experimental mode enabled * use now() instead of event timestamp * fix seconds * add user/pass for default postgres * add tests * use big integers * make query work with 50k props * processing events saves event properties * fix script * test date format detection * default enabled * only enable event property counter for specific teams * eslint fixes * fix logs double-sync noise in tests * fix bigint test * don't do tasks that make no sense * remove dead code * simpler test setup * different contraint name * refactor team manager * greatly simplify the system * fetch cached event properties * fix team manager and timestamps * add cached entry * also don't cache event properties for teams that have it disabled * remove indexes that are not going to be used * remove unused imports * blacked * remember event properties with a LRU cache * fix eslint * clean up the last bits * move ONE_HOUR to constants * use sane_repr * fix typo
- Loading branch information
1 parent
9a2d5c0
commit 151f759
Showing
19 changed files
with
286 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const ONE_HOUR = 60 * 60 * 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.