0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/api
Yakko Majuri 3ec5cc0d3b
Capture Endpoint Refactor (#6230)
* WIP refactor capture endpoint + DLQ

* fix typing

* more testing

* add comments

* format

* refactor get_event into smaller modular functions

* move functions to utils

* add typing

* fixes + more tests

* add test for extract_data_from_request util

* fix typing

* remove comment

* format

* remove dlq code

* determine_team_from_request -> get_team

* extract_data_from_request -> get_data

* minor fixes

* extract get_distinct_id, parse_event

* add test

* Add dead letter queue to capture endpoint (#6311)

* Add dead letter queue to capture endpoint

This reverts commit 34e7441493.

* try except kafka produce

* format

* statsd + log for dlq produce error

* fix types

* fix

* fix

* legit fix

* ignore type

* handle now timestamp

* remove test code
2021-10-11 10:38:45 +00:00
..
test Capture Endpoint Refactor (#6230) 2021-10-11 10:38:45 +00:00
__init__.py
authentication.py SAML support (#5681) 2021-08-27 07:20:49 -07:00
debug_ch_queries.py Clean up DebugCHQueries viewset (#5685) 2021-08-23 12:17:12 +02:00
enterprise_event_definition.py Event/property taxonomy frontend (1/3) (#4591) 2021-06-09 19:45:42 -04:00
enterprise_property_definition.py Event/property taxonomy frontend (1/3) (#4591) 2021-06-09 19:45:42 -04:00
explicit_team_member.py Project-based permissioning TopNavigation (#6027) 2021-09-29 22:43:40 +00:00
hooks.py Add project-nested version of all project-dependent endpoints (#6203) 2021-10-01 13:38:33 +02:00
license.py Add clickhouse and max users to license (#3918) 2021-04-14 08:45:39 -07:00