---
title: "AIS Tracing — Correlation ID Tracer for Azure Cosmos DB"
description: "Follow a correlation ID or order reference through every container of an Azure Cosmos DB account and see exactly where it stopped."
url: "https://mayorana.ch/en/apps/ais-tracing"
language: "en"
version: "0.1.33"
released: "2026-11-27"
---

# AIS Tracing: Correlation-id tracer for Azure Cosmos DB

> Follow a correlation ID or order reference through every container of an Azure Cosmos DB account and see exactly where it stopped.

- Platforms: macOS (Apple Silicon), Linux x86_64, Windows
- Built with: Rust · Dioxus · Azure Cosmos DB
- Latest version: 0.1.33 (2026-11-27), release notes: https://mayorana.ch/en/apps/ais-tracing/releases
- Source: https://github.com/Bennekrouf/ais-tracing
- Licence: PolyForm Noncommercial 1.0.0 (https://polyformproject.org/licenses/noncommercial/1.0.0); commercial use needs a plan: https://mayorana.ch/en/pricing

## Overview

Something did not arrive. You have a correlation id, an order reference, or a customer number, and a Cosmos DB account with more containers than anyone remembers the shape of. The question is simple — how far did this value get? — and answering it usually means writing a query per container.

AIS Tracing answers it in one step. It samples your containers, works out on its own which field links documents to each other, then follows your value across all of them and draws each step on a timeline.

The gaps are the point. A step with no document is not an empty result to scroll past — it is the answer, showing you exactly which hop the data never reached.

## What it does

### Automatic link-field detection

Samples the containers and infers which field ties documents of one flow together, so you do not have to describe your schema to it first.

### Account-wide search

One value, every container in the account, in a single pass — rather than a query per container written by hand.

### Timeline view

Each step the value touched, in the order it happened, so latency between hops is visible rather than inferred from timestamps you compare manually.

### Gaps as first-class results

Containers where the value never appeared are drawn as empty lanes. Where the trail stops is usually the whole answer.

## Requirements

- macOS on Apple Silicon, Windows, or Linux x86_64
- Azure CLI signed in (az login) — the app has no login of its own and uses your existing session
- An Azure Cosmos DB account you can read, including the separate Cosmos data-plane grant
- Containers that carry some correlating field across documents

## Download

- [macOS (Apple Silicon)](https://mayorana.ch/downloads/ais-tracing/latest/ais-tracing-macos-arm64.dmg)
- [Linux x86_64](https://mayorana.ch/downloads/ais-tracing/latest/ais-tracing-linux-x86_64.tar.gz)
- [Windows](https://mayorana.ch/downloads/ais-tracing/latest/ais-tracing-setup.exe)

### Or install from a terminal

macOS and Linux:

```sh
curl -fsSL https://mayorana.ch/install/ais-tracing.sh | sh
```

Windows (PowerShell):

```powershell
irm https://mayorana.ch/install/ais-tracing.ps1 | iex
```

## Questions

### Do I have to tell it my schema?

No. It samples the containers and infers the linking field from the data, proposes a correlation key, and you paste a value to follow.

### A scan failed with 403 — what does that mean?

Cosmos DB data access is a separate grant from normal Azure RBAC, so an account that can see the database still cannot read its contents. The app offers a button to give yourself the Built-in Data Reader role.

### Does it write to Cosmos DB?

No. It is read-only against your account.

### What if my data is in Log Analytics rather than Cosmos DB?

AIS Analytics is the same tracer pointed at a Log Analytics workspace.

### Will it work on a large account?

It samples rather than scanning everything, so container count matters more than total document count. Very wide accounts take longer on the first pass.

## Read more

- [How Far Did That Order Get? Tracing a Correlation ID Across Cosmos DB](https://mayorana.ch/en/blog/trace-correlation-id-cosmos-db.md)
