---
title: Telemetry
description: What anonymous telemetry OpenShell collects and how to disable it
  at runtime or compile it out.
url: /docs/dev/observability/telemetry/
docset: core
version: dev
latest_version: 0.1.10
source: ai-openshell/openshell@main:docs/observability/telemetry.mdx
---

> Documentation index: /docs/dev/llms.txt. This page is for OpenShell dev.
> These docs are for the development version (ai-openshell/openshell@main). Latest released version (0.1.10): /docs/observability/telemetry.md

# Telemetry

OpenShell collects anonymous telemetry to help improve the project. The data shows aggregate usage of sandbox, provider, and policy workflows. It is not used to track individual users. Aggregate usage trends are published every two weeks in the [community telemetry reports](https://github.com/ai-openshell/openshell/tree/main/telemetry).

## What Is Collected

Telemetry events are limited to anonymous operational categories and counts, such as sandbox lifecycle outcomes, provider profile buckets, policy decision counts, and aggregate network activity denial categories.

OpenShell telemetry does not collect sandbox names or IDs, hostnames, file paths, binary paths, prompts, credentials, provider names, model names, or user content.

Opting out applies only to telemetry emitted by OpenShell. Third-party services, model providers, inference endpoints, agents, or tools that you configure and use with OpenShell may have their own terms and privacy practices.

## Disable Telemetry at Runtime

Set `OPENSHELL_TELEMETRY_ENABLED=false` on the gateway deployment. For Helm installs, set `server.telemetryEnabled=false`. OpenShell propagates this setting into sandbox supervisor environments, so sandbox-side telemetry collection is disabled as well.

## Compile Telemetry Out

Telemetry support is a default-on `telemetry` Cargo feature. Each crate that carries it also defines a `defaults-without-telemetry` alias covering every other default feature. Build telemetry-free artifacts with `--no-default-features --features defaults-without-telemetry`:

```shell
cargo build --release -p openshell-gateway --no-default-features --features defaults-without-telemetry
cargo build --release -p openshell-sandbox --no-default-features --features defaults-without-telemetry
cargo build --release -p openshell-driver-vm --no-default-features --features defaults-without-telemetry
```

The resulting binaries contain no telemetry endpoint, no telemetry HTTP client, and no emission code. With telemetry compiled out, the gateway emits nothing and reports telemetry disabled to the sandboxes it launches.

Cargo cannot subtract a single default feature, so `defaults-without-telemetry` must be paired with `--no-default-features`. Passing it on its own leaves the defaults in place and fails the build rather than producing a binary that still emits.

### Select Compute Drivers

The gateway exposes Cargo features for its built-in compute drivers: `compute-driver-kubernetes`, `compute-driver-mxc`, and `driver-launcher`. The `driver-launcher` feature enables the launchers for the Docker, Podman, and VM drivers, which run as separate binaries; it replaces the former `compute-driver-docker`, `compute-driver-podman`, and `compute-driver-vm` features, which no longer exist. Disable the default feature set, then enable only the drivers and telemetry mode the target binary needs:

```shell
# Docker, Podman, and VM launchers only, with telemetry support.
cargo build --release -p openshell-gateway --no-default-features --features telemetry,driver-launcher

# Docker, Podman, and VM launchers plus Kubernetes, with telemetry compiled out.
cargo build --release -p openshell-gateway --no-default-features --features driver-launcher,compute-driver-kubernetes

# Windows MXC only, with telemetry support and prebuilt Z3.
cargo build --release -p openshell-gateway --no-default-features --features telemetry,compute-driver-mxc,openshell-server/prebuilt-z3
```

Regular builds keep their platform driver set through the default `in-tree-compute-drivers` compatibility feature. On Windows, `compute-driver-mxc` selects MXC and `driver-launcher` and `compute-driver-kubernetes` install unsupported-driver stubs. On other platforms, MXC is excluded.

With `driver-launcher`, the gateway registers all three launchers, so auto-detection can select Podman on a host where Docker is also installed and reachable. If you previously built with only `compute-driver-docker` and want to keep using Docker, set `compute_driver = "docker"` under `[openshell.gateway]`.
