> For the complete documentation index, see [llms.txt](https://docs.flopsar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flopsar.com/user-guide/observing-and-diagnosing/data-analysis.md).

# Data Analysis

Data Analysis (Multidimensional Analysis) aggregates many recorded invocations so you can tell a one-off spike from a systemic regression. Open it from **Analytics → Data Analysis**. You must set a **date range** and an **application**. Optional conditions match the [Data Browser](https://docs.flopsar.com/user-guide/observing-and-diagnosing/data-browser.md) form. You can also apply a saved [chart](https://docs.flopsar.com/user-guide/observing-and-diagnosing/dashboards.md) when every rule on that chart selects the same application.

<figure><img src="https://1957839935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQzShZISPoFZ9zIHUdjNB%2Fuploads%2Fgit-blob-7cf85c46411d03ab0f11fc7dfc4451886aba0ec0%2Fdata_analysis.png?alt=media" alt="Data Analysis after a search: summary cards, duration distribution by percentiles, and percentile table"><figcaption><p>One hour of an application after a search; AI Analysis is in the toolbar.</p></figcaption></figure>

The view has three areas. After a search, **AI Analysis** (if enabled) opens the [AI Assistant](https://docs.flopsar.com/user-guide/observing-and-diagnosing/ai-assistant.md) grounded in this query.

## Duration distribution

* A percentile curve of method duration with bars for invocation count in each percentile band. The count in a band is the difference between consecutive percentiles (for example P50 minus P25), not a standard histogram bucket.
* A table of exact percentile values, durations, and counts.
* Percentiles over time, and invocation count over time.

## 2D analysis

A heatmap of a selected data type against duration (vertical) and time (horizontal). Cells aggregate the range they cover:

* **Count** — invocations in the cell
* **Off-CPU** — share of invocations whose off-CPU time is largest
* **Exceptions** — methods that threw

A percentile control limits the chart to invocations below that percentile of duration.

<figure><img src="https://1957839935-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQzShZISPoFZ9zIHUdjNB%2Fuploads%2Fgit-blob-faeda3349faa6947a4028a5303f3001a172bebdf%2Fdata_analysis_heatmap.png?alt=media" alt="Time-duration heatmap of invocation counts limited to the 95th percentile"><figcaption><p>The heatmap of invocation counts up to the 95th percentile.</p></figcaption></figure>

## Exceptions

* **Top root exceptions** — the most frequent originating exceptions.
* Selecting one fills **Top method exception** — methods that throw it.
* The stack-trace control opens successive traces for that exception.

From here you typically open an individual call in the [Method Execution Tree](https://docs.flopsar.com/user-guide/observing-and-diagnosing/method-execution-tree.md).

## Keeping the result for a ticket

**Add to case** in the toolbar keeps the result of the analysis as evidence of an [investigation](https://docs.flopsar.com/user-guide/observing-and-diagnosing/investigation.md): the server runs the query again and keeps the counts, percentiles, instances, exceptions and business errors, together with the query, so that it can be replayed in another period later. **Add to case** in the footer of the **Stack Trace** window keeps one exception with the stack trace shown and how often the analysis found it. See [Adding Evidence](https://docs.flopsar.com/user-guide/observing-and-diagnosing/investigation/adding-evidence.md#an-analysis). *Available since Flopsar 7.2.*
