0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
Commit Graph

67 Commits

Author SHA1 Message Date
Sandy Spicer
472536af1d
fix: max query size (#24148) 2024-08-05 09:01:23 -07:00
Sandy Spicer
f42bc0a89d
fix: convert all bools to ints in the clickhouse printer (#23455) 2024-07-04 10:04:15 +02:00
Paul D'Ambra
dd4be4fc3f
feat: remove non-hogql replay filtering (#23345)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-07-02 09:46:15 +01:00
Sandy Spicer
a02e9c6faa
feat: bigger ast (#23300) 2024-06-28 07:59:08 +00:00
Sandy Spicer
eac199d24a
chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
Julian Bez
6c95fd18ba
chore(ruff): Add ruff rules for exception handling (#23251) 2024-06-27 12:39:21 +01:00
Sandy Spicer
635e08ce3a
feat(performance): query improvements for trends (load less people) (#23135) 2024-06-25 15:08:45 -07:00
Sandy Spicer
6c23c9bd89
revert: "chore: upgrade python to 3.11 🐍" (#23198)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 11:50:48 -07:00
Julian Bez
5617963e7a
chore: Update pyproject.toml for Python 3.11 (#23181) 2024-06-24 15:42:47 +01:00
Paul D'Ambra
837fe038ed
fix: avoid person_distinct_id table when PoE is active (#23068)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-19 08:29:09 +00:00
Paul D'Ambra
b7f21e8efa
fix: PoE replay support with HogQL (#23051)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 20:28:50 +01:00
Paul D'Ambra
f5dcb192c5
fix: filtering out replays with no URL (#23032)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-18 08:50:48 +01:00
Paul D'Ambra
6133af0e35
fix: ignore replays with null first url (#22975)
* fix: ignore replays with null first url

* Update query snapshots

* update tests

* fix tests

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-14 13:17:50 +01:00
Thomas Obermüller
8ab8741e63
chore(refactor): pythonic schema (#22573) 2024-06-10 15:19:20 +02:00
Paul D'Ambra
e12566c62e
feat: move session replay pinned persistence to its own queue (#22765) 2024-06-07 09:14:33 +01:00
Paul D'Ambra
48f67195d4
feat: turn on optimizing joins in replay by flag (#22714) 2024-06-05 16:48:24 +00:00
Bianca Yang
9dd22a3757
feat: Deprecate available_features pt 2 (#22373)
* everything except plugin server and sync_available_features

* sync_available_features_done, some plugin_server done?

* and a tiny bit more

* linting

* try to fix some tests

* more test fixes/

* clean up typos

* weed wacking bugs

* more test shenanigans

* fix plugin server

* actually fix plugin server test?

* still fixing tests

* another attempt

* some pr feedback

* small fix

* fix database query accessor

* fix functional tests

* fix tests

* Update query snapshots

* Update query snapshots

* Update query snapshots

* update some comments and fxn names

* fix plugin server test

* Update query snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-28 17:29:24 -07:00
Ben White
33a0757a7c
fix: Loading of embedddings (#22260) 2024-05-20 16:26:22 +01:00
Paul D'Ambra
e0b0c98cb5
chore: put session summaries back (#22307)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-16 11:40:12 +03:00
Paul D'Ambra
4fba6a63e3
fix: last timestamp in tests (#22230)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-09 17:21:07 +00:00
David Newell
2dd5c1aeb1
feat: port new HogQL filters (#22009) 2024-05-01 13:38:44 +00:00
Ben White
450501ad14
feat: Enforce usage of parent functions for main viewset (#21730) 2024-04-29 11:45:16 +02:00
Julian Bez
9576fab1e4
chore: Add Pyupgrade rules (#21714)
* Add Pyupgrade rules
* Set correct Python version
2024-04-25 08:22:28 +01:00
Michael Matloka
b7add1d252
refactor(querying): Consolidate PersonOnEventsMode and PersonsOnEventsMode (#21628)
* Consolidate `PersonOnEventsMode` and `PersonsOnEventsMode`

* Fix multi-line imports too

* Fix member casing

* Fix typing

* Fix some more and update baseline

* Fix `PersonsOnEventsMode` member capitalization
2024-04-19 10:06:55 +02:00
ted kaemming
8e2986b521
feat(hogql): Update modifiers and schemas to reflect person-on-events modes from #21455 (#21504) 2024-04-12 15:26:13 -07:00
timgl
6cf85db922
fix: Three clear options for persons on events (#21455)
* Revert "feat(hogql): Add feature flag for opting queries into v3 persons-on-events (#21150)"

This reverts commit 205376b86e.

* fix: Three clear options for persons on events

* Update UI snapshots for `chromium` (1)

* use UUID to target feature flag

* fix

* add missing option

* fix

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update posthog/models/team/team.py

Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>

* Update posthog/models/team/team.py

Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>

* fix schema

* fix

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>
2024-04-11 18:58:35 +01:00
David Newell
140dfbceda
fix: sparkline generation (#21274) 2024-04-02 16:17:16 +01:00
David Newell
4e22252235
chore: run clustering in background task (#21080) 2024-03-28 12:12:51 +00:00
David Newell
6b6d40a666
feat: sparkline errors (#21081)
* feat: errors page playlist link

* feat: create playlist from errors

* remove sample data

* update title

* add frontend protection to samples

* feat: sparkline errors
2024-03-22 10:20:37 +00:00
David Newell
21922ff9e3
feat: create playlists from errors (#21037) 2024-03-21 16:59:21 +00:00
David Newell
088399bbe0
feat: error clustering UI (#20958) 2024-03-19 16:02:07 +00:00
David Newell
8b92cd1c62
fix: picking embedding input samples (#20913) 2024-03-14 09:12:13 +00:00
David Newell
6b4a9f20b1
chore: include input in fetched data (#20908) 2024-03-13 16:52:55 +00:00
David Newell
dc0faa5a79
chore: add input to clickhouse rows (#20901) 2024-03-13 15:57:22 +00:00
David Newell
428c48084b
fix: error clustering data shape (#20859)
* fix: error clustering data shape

* use new input column

* remove logger
2024-03-13 14:49:20 +00:00
David Newell
6251ed481f
feat: error clustering UI (#20823) 2024-03-11 18:00:35 +00:00
David Newell
a677a3fd64
fix: embeddings runner variable name (#20802) 2024-03-08 20:43:41 +00:00
David Newell
1d3c7417fb
fix: add labelnames to prometheus metrics (#20800) 2024-03-08 19:32:29 +00:00
David Newell
0c1c05e38c
feat: cluster errors (#20779) 2024-03-08 18:16:24 +00:00
David Newell
ea340fc765
feat: embed errors (#20752) 2024-03-08 18:12:06 +00:00
David Newell
6c5ad0c414
fix: return most not least similar recordings (#20693) 2024-03-05 16:29:05 +00:00
Paul D'Ambra
776e0e1c38
feat: fewer tokens sent to embed from urls (#20680)
* feat: fewer tokens sent to embed from urls

* need to stringify the input before logging it
2024-03-03 17:23:00 +00:00
Paul D'Ambra
0d476baeb6
fix: fewer loopy loops (#20678)
* fix: fewer loopy loops

* and add a rate limit to the queue

* swallow open AI errors

* count different failures differently
2024-03-03 13:59:31 +00:00
Paul D'Ambra
7c53b495b7
fix: person listing for recordings didn't work nicely with the PoE changes (#20658)
* support person uuid filter with poe v2

* confirming that poe1 fallsback to as if disabled

* comments

* freeze time

* Update query snapshots

* line up params and values correctly

* Update query snapshots

* comment

* instance settings queries

* Update query snapshots

* comment to clarify PoE mode for query

* Update query snapshots

* comment to clarify PoE mode for query

* Update query snapshots

* snapshots don't look right to me

* Update query snapshots

* don't read the setting so many times

* Update query snapshots

* obey mypy

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-01 19:29:51 +00:00
Paul D'Ambra
2085f68b05
fix: some embeddings faff (#20649)
* meaningful histogram buckets for tracking tokens

* we're not being clever about deduplicating, let's only ever look at the most recent

* Select a random selection of eligible recordings
2024-02-29 22:33:54 +00:00
Paul D'Ambra
16b9ed3d58
feat: basic PoE v2 support for session replay listing (#20609)
If PoE v2 is available for a team we should use it when querying person properties and listing sessions
2024-02-29 20:13:44 +00:00
Paul D'Ambra
8d0efa1c5b
fix: query needs a max time range (#20626) 2024-02-29 10:17:58 +00:00
David Newell
a9496eace8
chore: count tokens before hitting OpenAI (#20621)
* chore: count tokens before hitting OpenAI

* log the offending input

---------

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2024-02-28 23:04:43 +00:00
Paul D'Ambra
5e89d9124a
chore: even more logging (#20612)
* chore: even more embeddings logging

* and more settings

* fix

* fix
2024-02-28 21:24:39 +00:00
David Newell
c09812e1b4
chore: add better logs to embeddings (#20582) 2024-02-27 17:36:58 +00:00