Skip to content

Telemetry

Telemetry measures how your agents work across tasks and lights a trigger when the numbers say a deferred improvement, such as file indexing or model ranking, is worth reopening.

6 min read13 pages in Concepts

Some improvements to Astranize only pay off for certain projects. Indexing files helps when developers spend a long time reading before they edit; a model ranking helps when one model keeps failing on a step where another succeeds. Instead of guessing, Astranize measures your own runs and tells you when one of those improvements would be worth it. That is telemetry.

Each improvement has a trigger: a measure, a threshold, and a minimum sample. While the sample is too small, the trigger says so. Once there is enough data, the trigger is either lit (the numbers cross the threshold) or off.

Open the Observatory, the first icon on the left rail, and scroll past Subscription usage to Telemetry. Its subtitle reads “when a deferred item is worth reopening”.

The Telemetry section of the Observatory over 14 days, with No baseline selected and a Save baseline button. A summary row shows 19 Tasks, 12 Delivered, 1.7 Cycles (mean), 61K fresh tokens per delivery plus 556K of cache, 348 Read, 92 Grep and 27 Glob, and return reasons 4 missing test, 2 bug and 1 style. Below, the Triggers table: Indexing and file selection is Lit by exploration at 46%, Co-change between files is Off, and Fresh context and handoff, Rule learning and Model ranking and ladder show Sample too small.
Telemetry over 14 days: one trigger lit, one off, three waiting for more data.

At the top you pick the period, 7, 14 or 30 days, and a baseline to compare with. Below that:

  • The period summary: Tasks, Delivered, Cycles (mean), Tokens per delivery (fresh tokens, with the cache apart), Reads (by Read, Grep and Glob) and the reviewer’s Return reasons.
  • The Triggers table: one row per trigger, with the Item it would reopen, the Measure, the current Value, the Trigger threshold and the State. A state of Sample too small also shows how far along it is, for example “9 of 15 tasks”.
Item Measure Lights when Minimum sample
Indexing and file selection Developer reads before the 1st edit, mean above 25, or the share of the run spent exploring before the first edit is above 40% 15 tasks
Co-change between files Gate failures blamed on a file outside the diff 3 or more 20 tasks
Fresh context and handoff Files read again in the next cycle or step above 50% 15 tasks
Rule learning Same return reason within 14 days 3 or more 3 occurrences
Model ranking and ladder First-try approval gap between models on the same step 20 points or more 20 runs per model combination

These are the defaults. You can change each threshold and minimum sample, as shown below.

A baseline is a saved copy of today’s signals, so you can measure later what a change did. For example, save one called before-maps before you regenerate the repo maps, keep working for a week, then compare.

In the Telemetry section, click Save baseline…, type a name and click Save. Names use lowercase letters, digits and hyphens, like antes. If the name is already taken, the app says so and offers Replace.

To compare, pick the baseline in the menu next to the period. Each value then shows its change against the baseline, and the summary shows the change in tokens.

The thresholds live in settings.yaml, so they apply to every workspace on this computer.

Open Settings and go to Telemetry. The Thresholds tab has one group per trigger, with its threshold (Lights above, or Lights from) and its Minimum sample. Each field shows its default. A value is saved when you leave the field, and Back to default appears on a trigger you changed.

Settings, Telemetry, on the Thresholds tab. Indexing and file selection lights above 30 reads, default 25, with a minimum sample of 15 tasks, and has Back to default. Co-change between files lights from 3 failures with a minimum sample of 20 tasks. Fresh context and handoff lights above 40%, default 50%, with a minimum sample of 10 tasks, and has Back to default.
Telemetry thresholds in Settings. Changed triggers offer Back to default.

The handoff threshold is shown in percent, from 0 to 100, and the model ranking gap in points, from 0 to 100. A value outside that range is refused and nothing is saved. The YAML tab shows the whole settings.yaml, read-only: changes go through the Thresholds form.

Astranize refuses to save a handoff share above 1 or a model gap above 100 points. The app says “Use a number from 0 to 100”; the engine’s own message is threshold precisa ser um número de 0 a 1 (or de 0 a 100). If such a value gets into settings.yaml by hand, telemetry ignores it and uses the default.

Key Value Default
telemetry.triggers.indexing.threshold reads, 0 or more 25
telemetry.triggers.co-change.threshold failures, 0 or more 3
telemetry.triggers.handoff.threshold share, 0 to 1 0.5
telemetry.triggers.learning.threshold times, 0 or more 3
telemetry.triggers.model-ranking.threshold points, 0 to 100 20
telemetry.triggers.<id>.min_sample positive integer 15, 20, 15, 3, 20 in the order above
In the app In the CLI Meaning
Lit lit Enough data, and the value crosses the threshold.
Off off Enough data, and the value stays under the threshold.
Sample too small insufficient Fewer samples than the minimum.
  • Telemetry only counts tasks that ran with the new data. In a period with none, the section says “No tasks with the new data in this period yet.”
  • The indexing trigger can light by exploration alone; the table then says “lit by exploration”.
  • The CLI’s metrics signals uses 14 days by default. Every flag is in Metrics and usage.
  • Baselines live in the workspace, under metrics/baselines/<name>.json. The thresholds are per computer.