: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
chore(logs): remove fully rolled-out logs-sql-view flag (#82655)
Frank Hamandc6152d02d7b9
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsxindex ffe70b4c232e..73b4c206128e 100644--- a/frontend/src/lib/constants.tsx+++ b/frontend/src/lib/constants.tsx@@ -372,7 +372,6 @@ export const FEATURE_FLAGS = {LOGS_SETTINGS_RETENTION: 'logs-settings-retention', // owner: #team-logsLOGS_SETTINGS_RETENTION_RULES: 'logs-settings-retention-rules', // owner: #team-logsLOGS_SPARKLINE_SERVICE_BREAKDOWN: 'logs-sparkline-service-breakdown', // owner: #team-logs- LOGS_SQL_VIEW: 'logs-sql-view', // owner: #team-logsLOGS_TABBED_VIEW: 'logs-tabbed-view', // owner: #team-logsLOGS_TRANSFORMATIONS: 'logs-transformations', // owner: #team-logsMANAGED_MIGRATIONS_IAM_ROLE_AUTH: 'managed-migrations-iam-role-auth', // owner: #team-ingestion, gates IAM role auth for S3 batch importsdiff --git a/products/logs/frontend/LogsScene.tsx b/products/logs/frontend/LogsScene.tsxindex 4c2d26b84a59..8af84d552a03 100644--- a/products/logs/frontend/LogsScene.tsx+++ b/products/logs/frontend/LogsScene.tsx@@ -95,7 +95,6 @@ const LogsSceneTabbedContent = (): JSX.Element => {const { hasLogs, teamHasLogsCheckFailed } = useValues(logsIngestionLogic)const showServicesView = useFeatureFlag('LOGS_SERVICES_VIEW')const showAlerting = useFeatureFlag('LOGS_ALERTING')- const showSqlView = useFeatureFlag('LOGS_SQL_VIEW')const showTransformations = useFeatureFlag('LOGS_TRANSFORMATIONS')const showAnomalies = useFeatureFlag('LOGS_ANOMALIES')@@ -104,7 +103,7 @@ const LogsSceneTabbedContent = (): JSX.Element => {...(showServicesView ? [{ key: 'services' as const, label: 'Services' }] : []),...(showAlerting ? [{ key: 'alerts' as const, label: 'Alerts' }] : []),...(showAnomalies ? [{ key: 'anomalies' as const, label: 'Anomalies' }] : []),- ...(showSqlView ? [{ key: 'sql' as const, label: 'SQL' }] : []),+ { key: 'sql', label: 'SQL' },...(showTransformations ? [{ key: 'transformations' as const, label: 'Transformations' }] : []),{ key: 'configuration', label: 'Configuration' },]@@ -160,7 +159,7 @@ const LogsSceneTabbedContent = (): JSX.Element => {)}{activeTab === 'alerts' && showAlerting && <LogsAlertingSection />}{activeTab === 'anomalies' && showAnomalies && <LogsAnomalies />}- {activeTab === 'sql' && showSqlView && <LogsSqlEditor id={LOGS_SCENE_VIEWER_ID} />}+ {activeTab === 'sql' && <LogsSqlEditor id={LOGS_SCENE_VIEWER_ID} />}{activeTab === 'transformations' && showTransformations && <LogsTransformations />}{activeTab === 'configuration' && (<Settings logicKey={LOGS_LOGIC_KEY} sectionId="environment-logs" settingId="logs" handleLocally />