0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
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
Paolo D'Amico
7ea9eb692c
Update Django to 3.1.8 (and related) (#4007) 2021-04-19 12:59:10 -07:00
Marius Andra
1d2f9bf971
Minimum PostHog version in plugins (#3916)
* add "put_json_into_zip_archive" util

* add semantic version package

* compare posthog version requirement string in plugin.json if present

* Clarify posthogVersion error messages

* Don't check posthogVersion on Cloud

* Clarify error messages better

* Split test_create_plugin_version_ranges into multiple tests

* Add Cloud test and fix the rest

* Make mypy happy

* Update ci-backend.yml

* Fix typing

* Remove broad restore-keys

* Revert "Remove broad restore-keys"

This reverts commit b720e1e1cf.

* Attempt to make cached pip actually work

* Always run package installs even if cache hit just to be sure

* Avoid pytest from PATH

* Avoid PATH in Python CI altogether

* Roll back general CI changes

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-09 09:04:53 +02:00
dependabot-preview[bot]
a7fb59d1f6
Bump celery-redbeat from 0.13.0 to 2.0.0 (#3544)
Bumps [celery-redbeat](https://github.com/sibson/redbeat) from 0.13.0 to 2.0.0.
- [Release notes](https://github.com/sibson/redbeat/releases)
- [Changelog](https://github.com/sibson/redbeat/blob/main/CHANGES.txt)
- [Commits](https://github.com/sibson/redbeat/compare/v0.13.0...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-03 11:52:12 +01:00
dependabot-preview[bot]
0a0a8bd349
Bump parso from 0.6.1 to 0.8.1 (#3542)
Bumps [parso](https://github.com/davidhalter/parso) from 0.6.1 to 0.8.1.
- [Release notes](https://github.com/davidhalter/parso/releases)
- [Changelog](https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/davidhalter/parso/compare/v0.6.1...v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:11:36 +01:00
dependabot-preview[bot]
bf164b216a
Bump whitenoise from 5.0.1 to 5.2.0 (#3538)
Bumps [whitenoise](https://github.com/evansd/whitenoise) from 5.0.1 to 5.2.0.
- [Release notes](https://github.com/evansd/whitenoise/releases)
- [Changelog](https://github.com/evansd/whitenoise/blob/master/docs/changelog.rst)
- [Commits](https://github.com/evansd/whitenoise/compare/v5.0.1...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:11:07 +01:00
dependabot-preview[bot]
f2d7a962e5
Bump django-deprecate-fields from 0.1.0 to 0.1.1 (#3536)
Bumps [django-deprecate-fields](https://github.com/3YOURMIND/django-deprecate-fields) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/3YOURMIND/django-deprecate-fields/releases)
- [Commits](https://github.com/3YOURMIND/django-deprecate-fields/compare/0.1.0...0.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:02:30 +01:00
dependabot-preview[bot]
8ef31567db
Bump asgiref from 3.2.7 to 3.3.1 (#3535)
Bumps [asgiref](https://github.com/django/asgiref) from 3.2.7 to 3.3.1.
- [Release notes](https://github.com/django/asgiref/releases)
- [Changelog](https://github.com/django/asgiref/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/django/asgiref/compare/3.2.7...3.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:02:25 +01:00
dependabot-preview[bot]
b13bd73e85
Bump psycopg2-binary from 2.8.4 to 2.8.6 (#3543)
Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2) from 2.8.4 to 2.8.6.
- [Release notes](https://github.com/psycopg/psycopg2/releases)
- [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS)
- [Commits](https://github.com/psycopg/psycopg2/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:01:36 +01:00
dependabot-preview[bot]
5ae87afecd
Bump pytz from 2019.3 to 2021.1 (#3545)
Bumps [pytz](https://github.com/stub42/pytz) from 2019.3 to 2021.1.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2019.3...release_2021.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:01:13 +01:00
James Greenhill
cd7ccc779e
Run all connections through clickhouse connection pooler (#3495)
* Use clickhouse connection pooler to avoid connections from stepping on eachother

* build reqs
2021-02-26 12:54:35 -08:00
James Greenhill
55db17eefb
Remove CH Pool as dependency (#3279) 2021-02-09 16:41:10 -08:00
Karl-Aksel Puulmann
58327b406d
Update clickhouse-driver (#3265)
We're having a lot of clickhouse noise in sentry, keeping good hygene by
keeping up.

Changelogs:
- https://github.com/mymarilyn/clickhouse-driver/blob/master/CHANGELOG.md
- https://github.com/ericmccarthy7/clickhouse-pool/releases/tag/v0.4.3
2021-02-09 19:40:50 +02:00
Michael Matloka
481e9ddc6f
Don't install unused pandas and numpy (#3034)
* Don't install unused pandas and numpy

* Use built-in NaN instead of Numpy's
2021-01-21 13:47:18 +01:00
Tim Glaser
e8d64117d3
Remove legacy funnel code (#2700)
* Remove legacy funnel code

* recsw

* Fix test
2020-12-08 18:23:46 +01:00
Noah Rickles
d924181fce
Issue #2573, Add django-axes (#2582)
* Closes #2573 adds django-axes middleware with default configuration, disabled during tests

* Added django-axes to requirements

* Moved environment variable declaration in tests script to see if django-axes is disabled during CI tests

* Removed disabling of django-axes in the tests script, updated expected number of queries in tests
2020-12-02 11:01:46 +01:00
Marius Andra
ad86e43cce
bump posthoganalytics to 1.1.3 (#2475) 2020-11-23 17:54:02 +01:00
Michael Matloka
b7b9e8caf3
Remove some seemingly unused requirements and use pip-compile (#2192)
* Remove some seemingly unused requirements

* Remove a few more

* Bring back dependencies of other requirements

* pip-compile prod requirements

* Sync with master updates

* Fix grep

* Revert "Fix grep"

This reverts commit 2e6538cad4.

* Fix grep but using cut

* Clean up and regenerate requirements

* Simplify requirements-dev

* Fix fakeredis import in production

* Black
2020-11-10 10:17:48 +01:00