: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(warehouse-sources): say where to find the MongoDB connection string (#101008)
Tom Owers3b41b3ec2a7d
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/mongodb/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/mongodb/source.pyindex 9b8db0771f6a..5b9debd29025 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/mongodb/source.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/mongodb/source.py@@ -382,12 +382,17 @@ class MongoDBSource(SimpleSource[MongoDBSourceConfig], ValidateDatabaseHostMixin[SourceFieldInputConfig(name="connection_string",- label="Connection String",+ label="Connection string",# The connection string is this source's only credential, so `password` keeps# it editable on update for rotation.type=SourceFieldInputConfigType.PASSWORD,required=True,placeholder="mongodb://username:password@host:port/database?authSource=admin&tls=true",+ caption=(+ "In MongoDB Atlas, open your cluster and click **Connect → Drivers** to copy this, "+ "then replace `<db_password>` with your database user's password. Self-hosted "+ "clusters use the host and port form in the placeholder, keeping `tls=true`."+ ),secret=True,),SourceFieldInputConfig(