: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): show firewall allowlist hint on ClickHouse and Redshift host fields (#88921)
Tom Owers82855292285c
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 321340727fe5..89304ae7d1f8 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@@ -183,6 +183,12 @@ class ClickHouseSource(SimpleSource[ClickHouseSourceConfig], SSHTunnelMixin, Valtype=SourceFieldInputConfigType.TEXT,required=True,placeholder="play.clickhouse.com",+ caption=(+ "Must be reachable from the public internet. Add PostHog's egress IP addresses to your "+ "firewall allowlist (see the docs above) and use a public host. `localhost` and private "+ "IPs (10.x, 172.16-31.x, 192.168.x) can't be reached. For a database that can't be "+ "exposed publicly, enable the SSH tunnel below."+ ),secret=False,),SourceFieldInputConfig(diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/redshift/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/redshift/source.pyindex 3c1b7edf4309..7018f7b89207 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/redshift/source.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/redshift/source.py@@ -104,6 +104,12 @@ class RedshiftSource(SQLSource[RedshiftSourceConfig], SSHTunnelMixin, ValidateDatype=SourceFieldInputConfigType.TEXT,required=True,placeholder="my-cluster.abc123xyz.us-east-1.redshift.amazonaws.com",+ caption=(+ "Must be reachable from the public internet. Add PostHog's egress IP addresses to your "+ "firewall allowlist (see the docs above) and use a public host. `localhost` and private "+ "IPs (10.x, 172.16-31.x, 192.168.x) can't be reached. For a database that can't be "+ "exposed publicly, enable the SSH tunnel below."+ ),secret=False,),SourceFieldInputConfig(