Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into rrhyne-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcegraph-bot authored Apr 5, 2024
2 parents de5961c + a769897 commit d309a11
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/departments/data-analytics/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ It depends on the dataset:
5. You can just use Sourcegraph normally and in the side or bottom bar it'll show all the events being triggered!

Alternatively, you can always search in Amplitude when creating a chart for what you think the event might be (e.g. submitting a search is `Search Submitted`) and hopefully it pops up. If you can't find what you're looking for, feel free to reach out in #discuss-analytics and we'll take a look!

### My customer wants to disable telemetry entirely. How do they do so?

If they have the appropriate plan and license key, see our ["how to disable usage data collection" page](how-to-airgap-disable-telemetry.md).
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# How to disable usage data or telemetry for (or how to "airgap") a customer instance

## Types of usage data we collect

There are two primary ways that we collect usage data from self-hosted Sourcegraph instances:

1. [Pings](https://sourcegraph.com/docs/admin/pings#pings): anonymous and pre-aggregated data packets).
2. [Event-level telemetry](https://sourcegraph.com/docs/dev/background-information/telemetry): still fully anonymous, but includes full user event/activity stream.

## How to disable collection

For recent versions of Sourcegraph, disabling either form of usage data collection requires a license key tag that permits it.

1. First, the customer must receive a [license key that has the appropriate tag(s) that permit "air gapped" usage](../technical-success/ce/process/license_keys.md). Currently, the options that permit portions of this are "Allow air gapped", "Allow disable telemetry export", and any enterprise plans that explicitly permit "air gapped" usage.

- When this license key tag is applied to the customer instance, event-level telemetry exports (#2 in the [list above](#types-of-usage-data-we-collect)) will be automatically stopped.

2. Second, the customer may actually "air gap" their instance at this point. If they do so (e.g., via networking rules that disallow connections to Sourcegraph.com and other Sourcegraph-managed URLs), then by default all forms of usage data collection will be stopped.

- Note that if the customer doesn't have a license key that permits this, their instance will shut down and not allow further usage. Without the appropriate "air gap" license key tags, licenses are continuously validated by pinging Sourcegraph.com.

3. Alternatively, the customer may choose to leave their connection to Sourcegraph.com open, but disable pings manually. This is done by adding (or updating) the following in their [site configuration](https://sourcegraph.com/docs/admin/config/site_config#reference):

```
...
"update.channel": "none"
...
```

Once the appropriate license key tags are applied and pings are disabled (via site configuration or networking), the customer will effectively no longer send usage data to Sourcegraph.
5 changes: 5 additions & 0 deletions content/departments/data-analytics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ For internal team communication, see:
- #team-data-eng: for Data Engineering internal team communication
- #team-operations: for Operations internal division communication

## Frequently asked questions

- See our full [FAQ here](faq.md).
- [How to disable usage data collection for a customer](./how-to-airgap-disable-telemetry.md).

## **How to know what we are working on:**

- [Data team FY25Q1 priorities](https://docs.google.com/document/d/1GKAhAin60a-qejyKaOXjzb2lS92iZ2zbYv1gK6CfWHM/edit)
Expand Down

0 comments on commit d309a11

Please sign in to comment.