:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(data-warehouse): tell clickhouse users which source syncs their tables (#107291)
Tom Owers681f6bdd0210
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse/source.pyindex 11912f5f7a88..b49667a4bc2e 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse/source.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse/source.py@@ -180,9 +180,11 @@ class ClickHouseSource(SimpleSource[ClickHouseSourceConfig], SSHTunnelMixin, Valreturn SourceConfig(name=ExternalDataSourceType.CLICKHOUSE,category=DataWarehouseSourceCategory.DATABASES,- keywords=["sql"],+ # "clickhouse cloud" also names the account-metadata source, and someone searching it+ # almost always wants to sync their service's tables, which is this source.+ keywords=["sql", "clickhouse cloud", "self-hosted"],releaseStatus=ReleaseStatus.GA,- caption="Enter your ClickHouse connection details to pull data into the PostHog Data warehouse. ClickHouse databases can be very large — we stream the data in Arrow batches to keep memory bounded.",+ caption="Enter your ClickHouse connection details to pull data into the PostHog Data warehouse. Works with ClickHouse Cloud and with self-hosted ClickHouse. ClickHouse databases can be very large — we stream the data in Arrow batches to keep memory bounded.",iconPath="/static/services/clickhouse.png",docsUrl="https://posthog.com/docs/cdp/sources/clickhouse",fields=cast(diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse_cloud/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse_cloud/source.pyindex c3194fcbf013..7a6005ad6e4c 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse_cloud/source.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/clickhouse_cloud/source.py@@ -48,10 +48,12 @@ class ClickhouseCloudSource(ResumableSource[ClickhouseCloudSourceConfig, ClickhoreleaseStatus=ReleaseStatus.ALPHA,caption="""Enter your ClickHouse Cloud API key to pull your organization's usage costs, service inventory, and audit log into the PostHog Data warehouse.+This source reads your ClickHouse Cloud account, not the data in it. To sync tables out of a ClickHouse Cloud service, use the **ClickHouse** source instead.+Generate an API key from your [ClickHouse Cloud console](https://console.clickhouse.cloud/) under your organization's **API keys** settings. Keys with the **Admin** role can read every table; a **Developer**-scoped key may not have access to the usage cost and audit log tables.""",iconPath="/static/services/clickhouse_cloud.png",docsUrl="https://posthog.com/docs/cdp/sources/clickhouse-cloud",- keywords=["clickhouse", "cloud costs", "finops", "billing"],+ keywords=["clickhouse", "cloud costs", "finops", "billing", "usage", "audit log"],fields=cast(list[FieldType],[