0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee
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
..
api Capture Endpoint Refactor (#6230) 2021-10-11 10:38:45 +00:00
benchmarks Update param name in benchmarks (#6324) 2021-10-08 14:44:00 +03:00
bin Revert "Fix CH no data blocker (#5238)" (#5239) 2021-07-21 06:38:08 +00:00
certs
clickhouse Discard low significance items, alter odds definition, mention skewed… (#6329) 2021-10-08 11:27:50 +00:00
idl
kafka_client Events dead letter queue CH table (#6193) 2021-10-07 08:30:13 +00:00
management/commands Move is_clickhouse_enabled from posthog.ee to posthog.utils (#5902) 2021-09-11 01:43:24 +02:00
migrations Project-based permissioning framework (#5976) 2021-09-22 18:29:59 +02:00
models Project-based permissioning framework (#5976) 2021-09-22 18:29:59 +02:00
tasks Don't count internal metrics for billing purposes (#6228) 2021-10-05 15:05:51 +03:00
__init__.py
apps.py
conftest.py Events dead letter queue CH table (#6193) 2021-10-07 08:30:13 +00:00
docker-compose.ch.arm64.yml dev(docker): use arm builds of zookeeper and kafka, just for arm compose (#6302) 2021-10-07 10:04:15 +02:00
docker-compose.ch.test.yml SAML deps build (#5932) 2021-09-14 11:43:26 +02:00
docker-compose.ch.yml docker-compose: remove references to 'posthog/plugin-server' (#6152) 2021-10-05 09:20:43 +00:00
LICENSE
settings.py SAML deps build (#5932) 2021-09-14 11:43:26 +02:00
urls.py Project-based permissioning framework (#5976) 2021-09-22 18:29:59 +02:00