> ## Documentation Index
> Fetch the complete documentation index at: https://www.artie.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Analytics portal

> Monitor your Artie pipelines on the Analytics page. View rows synced, operation types, table distribution, ingestion lag, and more with filtering by pipeline and table.

> **Info:**
>
> Artie can send the same metrics to [Datadog](https://docs.datadoghq.com/integrations/artie/), or to New Relic, Amazon CloudWatch, Grafana, or any OTLP endpoint through the [OpenTelemetry integration](/docs/monitoring/integrations#opentelemetry), where you can build your own dashboards and monitors.

Once a pipeline is running, its metrics show up on the [Analytics](https://app.artie.com/analytics) page. To alert on a configured condition, create a [custom monitor](/docs/monitoring/custom-monitors).

## Available filters

For each of these metrics, you also have the ability to set a filter:

1. Pipeline (All or a specific pipeline)
2. Specific tables (This is available if you specify the pipeline)
3. Whether to include or exclude backfills
4. Mode (Replication or history)

## Metrics

The Analytics page groups its charts into two sections:

* **Volume**: rows synced over time, rows by table (or by pipeline), and rows by operation (create, update, delete, backfill).
* **Freshness**: lag (switch between reader, ingestion, and total lag) and row lag.

Below those sections, every pipeline shows flush time and flush count. PostgreSQL pipelines also show replication slot size. Snowflake pipelines show warehouse execution and queued time, and BigQuery pipelines show bytes processed.

<img src="/docs/assets/dashboard/analytics_portal.png" alt="Analytics portal showing rows synced, rows by table, rows by operation, lag, row lag, flush time, flush count, replication slot size for Postgres, and warehouse execution and queued time for Snowflake" />

## Query metrics with the API

The same metrics are available from [`GET /analytics`](/docs/api-reference/analytics/query-analytics-data) with an [API key](/docs/api/overview#authentication). Pass a time window, the datasets you want, and optionally a pipeline:

```bash
curl -sg -H "Authorization: Bearer $ARTIE_API_KEY" \
  "https://api.artie.com/analytics?pipelineUUID=5fc762a9-d1ea-4dde-a986-fc46c26a2dd3&from=2026-10-30T22:00:00Z&to=2026-10-30T23:00:00Z&datasets[]=readerLag&datasets[]=ingestionLag"
```

```json
{
  "datasets": {
    "readerLag": {
      "unit": "ms",
      "err": null,
      "data": [{ "dimensions": {}, "points": [{ "time": 1793401200000, "value": 120 }] }]
    },
    "ingestionLag": {
      "unit": "ms",
      "err": null,
      "data": [{ "dimensions": {}, "points": [{ "time": 1793401200000, "value": 610.34 }] }]
    }
  }
}
```

Each point's `time` is a Unix timestamp in milliseconds, and `value` is in the dataset's `unit`. Check `err` on every dataset: one dataset can fail while the others succeed.

| Dataset                                                                                                                      | Analytics chart                                                                       |
| ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `rowsSyncedByTime`, `rowsSyncedByOperation`, `rowsSyncedByDB`                                                                | Rows synced, rows by operation, rows by table (or by pipeline)                        |
| `ingestionLag`                                                                                                               | Lag (ingestion): time from Artie receiving a change to writing it to your destination |
| `readerLag`                                                                                                                  | Lag (reader): how far behind Artie is reading your source                             |
| `rowLag`                                                                                                                     | Row lag                                                                               |
| `flushTime`, `flushCount`                                                                                                    | Destination flush duration and count                                                  |
| `replicationSlotSize`                                                                                                        | Postgres replication slot size                                                        |
| `snowflakeExecutionTimeAvg`, `snowflakeExecutionTimeMax`, `snowflakeQueuedOverloadTimeAvg`, `snowflakeQueuedOverloadTimeMax` | Snowflake warehouse execution and queued time                                         |
| `bigQueryUsage`                                                                                                              | BigQuery bytes processed                                                              |

Dataset names are case-sensitive, and unknown names are ignored.

**Total lag** (source to destination) is `readerLag` plus `ingestionLag` at each timestamp. Ingestion lag is only reported when Artie flushes, so treat a missing point as `0`, which is how the Analytics page draws its total lag chart.

API keys scoped to one environment must pass `pipelineUUID`. Requests without it return `400`, and a pipeline from another environment returns `404`.