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。传入--help查看PostHog接受的标志。
Terminal
polylane integration connect --type posthogOAuth;在 PostHog 同意页面选择一个项目。
连接 PostHog,并在 PostHog 同意页面选择一个项目。
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