query-clickhouse-via-metabase
Installation
SKILL.md
Querying ClickHouse via Metabase
PostHog's production ClickHouse clusters are reachable for ad-hoc analysis through internal Metabase instances. Both Metabases sit behind an AWS ALB with Cognito OAuth, so authentication is SSO-gated — Metabase API keys alone won't work.
This skill is for system.query_log analysis from inside the posthog repo.
For pre-built canned queries (slow query summaries, materialization analysis),
see the query-performance-analysis repo, which is the source of truth for
those and uses the same Metabase API surface.
Environment
| Region | Metabase URL |
|---|---|
| US | https://metabase.prod-us.posthog.dev |
| EU | https://metabase.prod-eu.posthog.dev |