# Metadata Monitoring

Upriver enables comprehensive monitoring of your data pipelines without requiring manual setup. It automatically learns the expected trends in data updates, size fluctuations, and growth trends, and notifies you whenever these patterns are disrupted.&#x20;

This approach is highly effective for spotting data flow interruptions or unexpected breakages.

## Volume

Volume monitoring checks for unexpected changes in the total size of the data or the amount of data being ingested as part of the pipeline.

These checks help detect issues with the pipelines such as breakdowns which lead to the the table not updating or ingesting duplicate rows which can manifest as an unexpected increase in the number of rows.

<figure><img src="https://875415170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLE0zsJmUpeLjYw085cnO%2Fuploads%2F2ylLf1ZXHyF4QJ24wMYi%2Fimage.png?alt=media&#x26;token=454b438a-7aab-4147-9667-f0a75b7775cc" alt=""><figcaption></figcaption></figure>

### Setting a custom expectation

In addition to the automatic monitors, users can also set volume expectations for each data source. These expectations can include the maximum/minimus values expected in the ingestion process. This is done from within the datasource page by clicking `Edit` on the volume chart for a specific datasource.

<figure><img src="https://875415170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLE0zsJmUpeLjYw085cnO%2Fuploads%2FhyPP2FZBCiklnkaT6Q3Q%2Fvolume-gif.gif?alt=media&#x26;token=b24d1d32-95fd-4f66-a9c7-4d2f06d733bd" alt=""><figcaption></figcaption></figure>

## Freshness

Freshness monitoring checks for unexpected changes in the time between data updates and the "age" of the newest available data. This is an indicator of whether the data source has been updated at the expected time.

<figure><img src="https://875415170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLE0zsJmUpeLjYw085cnO%2Fuploads%2FLonTlih7VdTEFcdOzE6s%2Fimage.png?alt=media&#x26;token=edb63ed6-0cad-4241-9118-cf4ea8a48115" alt=""><figcaption></figcaption></figure>

Similarly to the volume monitors, users can also set freshness expectations for each data source. These expectations specify the maximum allowed "freshness" for data, i.e. the maximum expected time since the last data update when running on Upriver's checks.

### Setting a custom expectation

In order to set a custom freshness expectation, click on `Edit` on the freshness chart in the main data source page, to set a custom value.

<figure><img src="https://875415170-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLE0zsJmUpeLjYw085cnO%2Fuploads%2Fa82xKNNYhqVXZ744gPL1%2Ffreshness%20gif.gif?alt=media&#x26;token=6e4eb7ba-8938-41a8-8003-7e3304f845bc" alt=""><figcaption></figcaption></figure>
