0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-29 02:46:32 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
James Greenhill
492e8e25d1
Add events count to system status page (#6062)
* Add events count to system status page

* add events count for last month and month to date
2021-09-21 22:48:32 +00:00
Karl-Aksel Puulmann
3ac74a8472
Clickhouse flamegraphs (#5752)
* WIP: flamegraphs

* Get flame graphs generating

* Add files to bin

* Crude frontend for analyzing

* Hack: Use a stable clickhouse host instead of conn pool for flamegraphs

Otherwise no way to get back measurements due to LB.

* Error handling

* Only allow read queries

* Hide query analyze button for non-owners

* Make sure non-admins can't run queries

* Fix query issue
2021-09-08 16:24:44 +03:00
Karl-Aksel Puulmann
e9f7556af7
Add running & slow queries to instance status dashboards (#4420)
* Allow getting table schema from clickhouse

This will be useful constructing free-form lists for /instance/status
page

* Show PostgreSQL queries in system status page

* Show table with currently running queries

* Show slow queries from the past 6 hours

* Make collapsible sections optional

This way this page even works for non-clickhouse users

* Remove debug code

* Remove more cols from slow log, handle lists

* Extract const
2021-05-21 09:26:01 +03:00
Karl-Aksel Puulmann
2b42909591
Show clickhouse disk and system.stats on /instance/status (#4042)
* Show clickhouse disk and system.stats on /instance/status

Part of https://github.com/PostHog/vpc/issues/45

* Show stats on clickhouse table sizes, remove postgres table size stats

* Add metric for whether clickhouse is alive

* Move clickhouse stats above redis
2021-04-22 08:46:29 +03:00