Skip to content

Enable self-hosted telemetry by default#180

Merged
suguanYang merged 1 commit into
mainfrom
fix/wangbinqi/enable-telemetry-by-default
Jun 29, 2026
Merged

Enable self-hosted telemetry by default#180
suguanYang merged 1 commit into
mainfrom
fix/wangbinqi/enable-telemetry-by-default

Conversation

@suguanYang

@suguanYang suguanYang commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • enable anonymous self-hosted telemetry by default in shared runtime config
  • hard-code Knowhere's PostHog US Cloud host and project key as built-in runtime defaults
  • keep source quickstart env examples untouched: no telemetry host/key/id/enable configuration is shown to users
  • add contract coverage for default-enabled telemetry and env override behavior

Verification

  • uv run --python 3.11 --all-packages pytest apps/api/tests/contract/test_self_hosted_telemetry_contract.py -q
  • make lint
  • make typecheck
  • uv run --all-packages --group lint ruff format --check apps/api/tests/contract/test_self_hosted_telemetry_contract.py packages/shared-python/shared/core/config/base.py
  • git diff --check
  • temporary local Gitleaks 8.30.1 arm64 binary: no leaks found

@suguanYang suguanYang force-pushed the fix/wangbinqi/enable-telemetry-by-default branch 3 times, most recently from b8270a0 to fea3d86 Compare June 29, 2026 09:28
@suguanYang suguanYang force-pushed the fix/wangbinqi/enable-telemetry-by-default branch from fea3d86 to a5af07b Compare June 29, 2026 10:33
@suguanYang suguanYang merged commit d500b33 into main Jun 29, 2026
6 checks passed
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.

1 participant