Skip to content

[200_64] posthog集成#3273

Merged
GatsbyUSTC merged 27 commits intomainfrom
yuki/200_61/posthog
May 8, 2026
Merged

[200_64] posthog集成#3273
GatsbyUSTC merged 27 commits intomainfrom
yuki/200_61/posthog

Conversation

@Yuki-Nagori
Copy link
Copy Markdown
Contributor

No description provided.

Yuki-Nagori and others added 16 commits May 6, 2026 21:36
根据飞书文档《PostHog 数据分析集成方案》更新:
- 在 telemetry-utils.scm 中添加 telemetry-load-config 函数
  - 支持从环境变量 MOGAN_TELEMETRY_BUFFER_SIZE 读取缓冲区大小
  - 支持从环境变量 MOGAN_TELEMETRY_FLUSH_INTERVAL 读取 flush 间隔
- 在 init-telemetry.scm 中初始化时调用 telemetry-load-config
  - 确保启动时加载用户自定义配置

与文档第5节'配置加载'和第10.2节'批量大小可调'保持一致。
@Yuki-Nagori Yuki-Nagori changed the title [200_61] posthog集成 [200_62] posthog集成 May 7, 2026
@Yuki-Nagori Yuki-Nagori marked this pull request as ready for review May 7, 2026 05:14
@Yuki-Nagori Yuki-Nagori changed the title [200_62] posthog集成 [200_64] posthog集成 May 7, 2026
Comment thread devel/200_64.md Outdated

### 4. 环境变量配置
```bash
export MOGAN_TELEMETRY_BUFFER_SIZE=5
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 buffer size 只有 5 呢?

@GatsbyUSTC GatsbyUSTC merged commit b87d87f into main May 8, 2026
5 checks passed
@GatsbyUSTC GatsbyUSTC deleted the yuki/200_61/posthog branch May 8, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants