> For the complete documentation index, see [llms.txt](https://docs.gaiodataos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gaiodataos.com/tools/data-workspace/observability.md).

# Observability

Monitor table volume, freshness, consumption and changes.

The **Observability** monitors the project's table storage: volume, freshness, consumption and changes. It has five sub-tabs.

<figure><img src="https://1671598980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0muDd0LkZG6CmTQvGQ4D%2Fuploads%2FxQy3uBmZSmr85Sl8RnFT%2Fdata-workspace-observabilidade.png?alt=media&amp;token=3721d772-97a5-4a92-bb8e-5f376d7853a4" alt=""><figcaption></figcaption></figure>

### Overview

* **Indicators**: tables (definitive and temporary), total disk, fresh, late, stale, orphans, changes in 7 days and expired (with recoverable space).
* **Storage**: total size and average usage per table.
* **Health**: fresh, late, stale or unknown tables, and the health score.
* **Age distribution**: last write less than 1 day ago, 1–3 days, 3–7 days, 7–30 days or more than 30 days.
* **Largest tables** and **Recent changes**.
* **Needs attention**: tables that need action, such as orphans (no consumers in the lineage).
* **Temporary**: number of temporary tables, expired tables and recoverable space, with a shortcut to **Purge expired**.

### Topology

* **Orphans**: tables with no known consumption.
* **Most consumed**: sorted by number of consumers.
* **In dashboards**: tables used by each dashboard.

All views have search, a status filter (Stale, Late, Fresh, Unknown), **Recheck** and sorting (Freshness, Name, Database).

Each row shows the bucket, whether there is known consumption and how long ago the table was last written (e.g. **9d ago**).

<figure><img src="https://1671598980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0muDd0LkZG6CmTQvGQ4D%2Fuploads%2FexvspoSU160yaOqpckXl%2Fdw-obs-topologia.png?alt=media&amp;token=25810699-7730-4d93-b4b9-8dce3c1ba47e" alt=""><figcaption></figcaption></figure>

### Freshness

Here you set a **freshness SLA** for each table: No SLA, Every 1h, Every 6h, Every 12h, Daily or Weekly. The table is then classified as Fresh, Late or Stale. You can filter by status and by "with or without SLA", and sort by severity.

Tables without an SLA show **No SLA set**. To set one, choose an option in the selector next to the table.

<figure><img src="https://1671598980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0muDd0LkZG6CmTQvGQ4D%2Fuploads%2F9W1Rdi4KRteGDtjbZlH9%2Fdw-obs-atualidade.png?alt=media&amp;token=5b69aa11-8e82-44aa-9f01-ebb95cdf6e57" alt=""><figcaption></figcaption></figure>

### Drift

History of table structure changes. The **Recent** tab shows the latest changes and the **By table** tab groups them by table. There is search by table or column, filters and sorting.

In **By table**, choose the table in the left panel. The **Check now** button checks for changes right away; when there are none, you see **No drift recorded**.

<figure><img src="https://1671598980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0muDd0LkZG6CmTQvGQ4D%2Fuploads%2F1gz5WYXdMpxL3SN8F0Ut%2Fdw-obs-mudancas.png?alt=media&amp;token=01013fb2-8ad7-4b0b-978a-88cdeec71ee0" alt=""><figcaption></figcaption></figure>

### Tables

This sub-tab has two lists, **Definitive** and **Temporary**. Tables can be sorted (e.g. by **Size**) and selected one by one or with **Select all**.

<figure><img src="https://1671598980-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0muDd0LkZG6CmTQvGQ4D%2Fuploads%2FOS5lzuarcQEcb6EtYbEb%2Fdw-obs-tabelas.png?alt=media&amp;token=d3f9f769-b5d5-4dc9-a52a-762ed138b890" alt=""><figcaption></figcaption></figure>

* **Definitive**: size, number of rows and date of the last write for each table.
* **Temporary**: the same list, with a retention policy:
  * **App default retention**: No retention, 1, 7, 30 or 90 days.
  * Individual retention per table.
  * Each table shows how long it has been without writes (e.g. **idle for 7d**), and the list can be sorted by **Situation**.
  * Buttons **Purge expired** and **Purge all now**.

{% hint style="danger" %}
**Purge expired** and **Purge all now** permanently delete temporary tables. Check the list before using them.
{% endhint %}
