0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
Commit Graph

9 Commits

Author SHA1 Message Date
Ben White
b956712cb5
feat(cdp): Oauth refresh flow support (hubspot) (#23811) 2024-07-22 10:15:43 +02:00
Julian Bez
3da4fedefb
feat(queries): Use analytics limited queue for cache warming tasks (#23766) 2024-07-18 11:41:57 +00:00
Paul D'Ambra
f079205aeb
fix: hit celery with a hammer (#23340) 2024-06-28 21:42:43 +00:00
Sandy Spicer
b5bbc4960e
fix(celery): remove unused queues and add a LONG_RUNNING queue (#22789) 2024-06-13 16:29:24 -07:00
David Newell
4f6d9c8673
feat: generate recording text embeddings (#20046)
* make migration

* general flow

* abstract shared methods

* generate input

* remove postgres migration

* generate embedding strings

* remove random file

* Update query snapshots

* Update query snapshots

* feat: create periodic replay embedding

* first sketch of table

* batch and flush embeddings

* add default to timestamp generation

* fetch recordings query

* save first embeddings to CH

* dump session metadata into tokens

* fix lint

* brain dump to help th future traveller

* prom timing instead

* fix input concatenation

* add an e :/

* obey mypy

* some time limits to reduce what we query

* a little fiddling to get it to run locally

* paging and counting

* Update query snapshots

* Update query snapshots

* move the AI stuff to EE for now

* Update query snapshots

* kick off the task with interval from settings

* push embedding generation onto its own queue

* on a different queue

* EE to the max

* doh

* fix

* fangling

* Remove clashes so we can merge this into the other PR

* Remove clashes so we can merge this into the other PR

* start wiring up Celery task

* hmmm

* it's a chord

* wire up celery simple version

* rename

* why is worker failing

* Update .run/Celery.run.xml

* update embedding input to remove duplicates

* ttl on the table

* Revert "update embedding input to remove duplicates"

This reverts commit 9a09d9c9f0.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
2024-02-14 12:50:42 +00:00
Raquel Smith
51db8afbf1
feat: add separate celery queue for usage reports (#20048) 2024-01-31 10:42:40 +00:00
Ben White
7f174faf40
feat: Celery tasks refactor (#19827) 2024-01-18 14:28:10 +01:00
Julian Bez
5254cc7eab
feat: Route some trial tasks to different queues (#19810) 2024-01-17 15:50:51 +00:00
Julian Bez
95fec19aaf
feat(celery): Prepare to run on multiple queues (#19157)
* Add Celery queues env file with default queues

Reasoning:
We need to configure Celery workers in several places to consume
from a specific set of queues.

* Define some queues
2024-01-17 11:54:12 +00:00