Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Telemetry to Understand Khoj Usage #215

Merged
merged 8 commits into from
May 17, 2023
Merged

Conversation

debanjum
Copy link
Member

Objective:

Use telemetry to better understand Khoj usage.
This will motivate and prioritize work for Khoj.

Specific questions:

  • Number of active deployments of khoj server
  • How regularly is khoj used (hourly, daily, weekly etc)?
  • How much is which feature used (chat, search)?
  • Which UI interface is used most (obsidian, emacs, web ui)?

Details

  • Expose setting to disable telemetry logging in khoj.yml
  • Create basic telemetry server to log data to a DB
  • Log calls to Khoj API /search, /chat, /update endpoints
  • Batch upload telemetry data to server at ~hourly interval

We log usage telemetry by default, unless setting explicitly set in
khoj.yml
@debanjum debanjum force-pushed the add-basic-telemetry branch 8 times, most recently from 6e08a8f to b9341a5 Compare May 17, 2023 10:21
@debanjum debanjum merged commit dc495ba into master May 17, 2023
5 checks passed
@debanjum debanjum deleted the add-basic-telemetry branch May 17, 2023 11:10
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.

None yet

1 participant