0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/ee/clickhouse/models
Karl-Aksel Puulmann 008ee1f04c
Include more clickhouse query metrics (#4256)
* Use `statshog` over python-statsd

More support for tags!

* Include custom tags for every query + add annotation to query

After this we can:
- Figure out from query logs where queries are coming from (speeding up debugging)
- Break down query speeds by user queries vs others (e.g. celery) --
better represents overall speed
- Can figure out how fast queries are on average for various teams

* Use tags in more queries over interpolation

This way we can set up more interesting graphs \o/

* Solve mypy error

* Fix a flaky test (due to ordering)
2021-05-10 10:47:54 +03:00
..
test Plugin log entries (#3482) 2021-05-06 10:54:32 +03:00
__init__.py
action.py Fix action error with gt (#4209) 2021-05-04 19:37:29 +02:00
clickhouse.py
cohort.py Swap out person_distinct_id in queries with subquery (#3828) 2021-04-01 12:56:42 -04:00
element.py Fix elements chain with bad classes (#2133) 2020-11-02 19:24:02 +01:00
event.py Include more clickhouse query metrics (#4256) 2021-05-10 10:47:54 +03:00
person.py Swap out person_distinct_id in queries with subquery (#3828) 2021-04-01 12:56:42 -04:00
property.py Simplify query (#4228) 2021-05-07 15:56:29 +03:00
session_recording_event.py Hotfix for missing session recording events (#3069) 2021-01-27 13:12:55 -08:00
util.py Filters: Select multiple for equality/inequality (#3422) 2021-02-25 16:54:55 +02:00