product analytics
PostHog
PostHog
Connect PostHog to let agents query product analytics, inspect session replays, and check feature flag rollouts. Agents can correlate product data with infrastructure signals to diagnose issues and understand user impact.
接続
ターミナルからPostHogを接続します。PostHogが受け付けるフラグは--helpで確認できます。
Terminal
polylane integration connect --type posthogOAuth。PostHog の同意画面でプロジェクトを 1 つ選択します。
PostHog を接続し、PostHog の同意画面でプロジェクトを 1 つ選択します。
Polylane は PostHog からの読み取りのみを行います。
| Tool | Scopes | What they unlock |
|---|---|---|
posthogQuery | user:read, project:read, query:read, event_definition:read, property_definition:read, action:read | この質問に必要な読み取りアクセスです。 |
posthogInsights | insight:read, dashboard:read, notebook:read, alert:read | この質問に必要な読み取りアクセスです。 |
posthogChanges | annotation:read, feature_flag:read, experiment:read, experiment_holdout:read, experiment_saved_metric:read, early_access_feature:read, activity_log:read | この質問に必要な読み取りアクセスです。 |
posthogErrors | error_tracking:read, health_issue:read, logs:read, metrics:read, tracing:read, llm_analytics:read, endpoint:read | この質問に必要な読み取りアクセスです。 |
posthogReplays | session_recording:read, session_recording_playlist:read, person:read, cohort:read, group:read, survey:read | この質問に必要な読み取りアクセスです。 |
posthogApi | organization:read, hog_function:read, batch_export:read, warehouse_table:read, warehouse_view:read, external_data_source:read, integration:read, web_analytics:read, heatmap:read | この質問に必要な読み取りアクセスです。 |
接続を解除しても、承認済みの PostHog アプリケーションは残ります。PostHog の Settings → Connected applications から削除してください。
接続解除
接続解除すると、すべての同期とチェックが停止し、Polylaneが保持していた認証情報が削除されます。 Polylaneは、PostHogのAPIが許す範囲のものを取り除きます。次のものは、自分で取り除くまで残ります。
- PostHog authorized application
Terminal
polylane integration disconnect <id>ツール
6エージェントがスレッドで実行できる操作です。
Query
Query PostHog analytics or discover the event and property vocabulary for a bounded date range
Insights
Read the PostHog insights, dashboards, alerts and notebooks the team watches
Changes
Read PostHog feature flags, experiments, releases, annotations and activity that explain what changed
Errors
Read PostHog error-tracking issues, their events, stack frames and spike history
Replays
Read PostHog session recordings and playlists to understand what users saw
Api
Call an allow-listed PostHog GET endpoint that no dedicated PostHog tool owns