Skip to content

: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.

feat(data-warehouse): flag self-managed sources in the source catalog (#71329)

Daniel RCd13a6fe198d4
diff --git a/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx b/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx
index 23cfa1267894..b342c3fa0827 100644
--- a/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx
+++ b/products/data_warehouse/frontend/scenes/NewSourceScene/SourceCatalog.tsx
@@ -59,7 +59,14 @@ const SourceTile = memo(function SourceTile({
</LemonButton>
</>
) : (
- <SourceReleaseTag releaseStatus={item.releaseStatus} />
+ <div className="flex flex-wrap items-center gap-1">
+ {item.selfManaged && (
+ <Tooltip title="Self-managed: your files stay in your own bucket and PostHog queries them there. The managed version copies the data into PostHog on a schedule.">
+ <LemonTag type="muted">Self-managed</LemonTag>
+ </Tooltip>
+ )}
+ <SourceReleaseTag releaseStatus={item.releaseStatus} />
+ </div>
)}
</div>
</>
diff --git a/products/data_warehouse/frontend/scenes/NewSourceScene/sourceCatalogLogic.ts b/products/data_warehouse/frontend/scenes/NewSourceScene/sourceCatalogLogic.ts
index a1cac810c43f..eae3779c4bf7 100644
--- a/products/data_warehouse/frontend/scenes/NewSourceScene/sourceCatalogLogic.ts
+++ b/products/data_warehouse/frontend/scenes/NewSourceScene/sourceCatalogLogic.ts
@@ -67,6 +67,8 @@ export interface CatalogItem {
url: string
disabledReason?: string | null
existingSource?: boolean
+ /** Self-managed: the user keeps the data in their own bucket, PostHog only links to it. */
+ selfManaged?: boolean
}
export interface CatalogCategory {
@@ -177,6 +179,7 @@ export const sourceCatalogLogic = kea<sourceCatalogLogicType>([
keywords: MANUAL_SOURCE_KEYWORDS[source.type] ?? [],
status: 'stable',
url: urls.dataWarehouseSourceNew(source.type),
+ selfManaged: true,
})
)