From a128fdcf5a8950aca3bcfb4b74bc0544762f4615 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Wed, 9 Aug 2023 16:02:37 +0800 Subject: [PATCH] docs: Update self-hosting.md about usage collection (#344) --- website/docs/self-hosting/self-hosting.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/docs/self-hosting/self-hosting.md b/website/docs/self-hosting/self-hosting.md index 47c98ee..e082a37 100644 --- a/website/docs/self-hosting/self-hosting.md +++ b/website/docs/self-hosting/self-hosting.md @@ -19,3 +19,12 @@ git_url = "https://github.com/TabbyML/tabby.git" | ------------------------- | ----------------------------------------------------------------------------------- | | `repository` | List of source code repository to integrate with the instance. | | `repository.git_url` | URL to git repository, where tabby extract snippets for prompting and fine tuning. | + +## Usage Collection +Tabby collects usage stats by default. This data will only be used by the Tabby team to improve its services. + +### What data is collected? +We collect non-sensitive data that helps us understand how Tabby is used. For now we collects `serve` command you used to start the server. + +### How to disable it +To disable usage collection, set the `TABBY_DISABLE_USAGE_COLLECTION` environment variable by `export TABBY_DISABLE_USAGE_COLLECTION=1`.