Privacy & data handling

The extension is built for local development. It has no backend and makes no outbound network calls of its own. Its only network activity is the OTLP receiver listening for your apps.

your app ── OTLP ──▶ 127.0.0.1:4317 (gRPC) / 127.0.0.1:4318 (HTTP) ──▶ in-memory store in VS Code

Telemetry

AI features (optional)

AI access is off until you enable the otel.ai.enabled user setting. When you ask a question:

@otel or an agent-mode request asks for an otel_* tool
        │  VS Code asks you to confirm the call (or you chose "always allow")
        ▼
read-only query over the in-memory telemetry, capped in size
        │
        ▼
redaction: secrets masked, AI prompt/completion text removed
        │
        ▼
the chat model you selected in VS Code ──▶ answer shown in chat
The otel_* tools canThe otel_* tools cannot
Read the telemetry the receiver holds in memory, the cardinality counters, and your service map baselinesRead, create or edit workspace files
Read the otel.ai.*, otel.cardinality.* and otel.cost.* settings and the prices saved in the Cardinality & Cost panelRun commands, tasks or terminals
Read environment variables
Make network requests
Change or delete telemetry

Buttons in @otel answers only open a trace, its logs, or a source line, and only when you click them. Source lines go through the same path checks as Navigate To Code. In agent mode, any other tools the agent has — such as file edits or the terminal — come from VS Code or other extensions, not from this one.

Opt-in and confirmed

Nothing is read until you enable otel.ai.enabled, and VS Code asks before each tool call. You can choose to always allow a tool. A workspace settings.json cannot turn it on.

Your model, your choice

Results go only to the language model selected in the chat model picker, including bring-your-own-key and local models (for example Ollama) configured in VS Code. The extension stores no API keys.

Redacted first

Before anything is sent:

Bounded

Each result is capped at otel.ai.maxResultItems items and 24,000 characters.

Transparent

Open the OpenTelemetry AI output channel and set its log level to Debug (gear icon → Set Log Level) to see the exact text sent for every call.

Telemetry is treated as untrusted

The model is told never to follow instructions found in telemetry, and buttons are built only from IDs the extension validated, never from text the model wrote.

Reporting a vulnerability

Please report security issues privately as described in SECURITY.md, not in a public issue.