# Session History

This feature allows swift identification of resource-intensive sessions/queries, pinpointing slowdown sources, and determining CPU, IO, and other resource consumption.

The dashboard presents data in a multi-dimensional manner, offering options for time selection, time zooming, and tag-based filtering for enhanced visualization and analysis.

{% hint style="info" %}
Session sampling is done every 10 seconds
{% endhint %}

> Automated Tags are generated through the active session sampling process on pg\_stat\_activity

* [wait\_event\_type](https://docs.datasentinel.io/manual/features/tips-and-hints/wait-event-description)
* [wait\_event](https://docs.datasentinel.io/manual/features/tips-and-hints/wait-event-description)
* application\_name
* client\_host\_name
* command\_type
* query\_md5\_id
* user\_name

{% hint style="info" %}
[Tags](https://docs.datasentinel.io/manual/features/tips-and-hints/tags) provide additional context and categorization to the data, allowing for more detailed analysis and insights.
{% endhint %}

{% hint style="info" %}
Within the dashboard, three small charts are prominently displayed, allowing you to select [Cluster or System Metrics](https://docs.datasentinel.io/manual/features/key-features/cluster-and-system-metrics) for correlation. Refer to [Metric Correlation](https://docs.datasentinel.io/manual/features/tips-and-hints/metric-correlation) section for more details
{% endhint %}

{% content-ref url="../tips-and-hints/metric-correlation" %}
[metric-correlation](https://docs.datasentinel.io/manual/features/tips-and-hints/metric-correlation)
{% endcontent-ref %}

{% hint style="info" %}
For comprehensive insights into wait events and their types, hover over the description tooltips as documented [here](https://docs.datasentinel.io/manual/features/tips-and-hints/wait-event-description).
{% endhint %}

## Interactive Demo

{% @arcade/embed flowId="isimuO4HUbeI0q1amrgr" url="<https://app.arcade.software/share/isimuO4HUbeI0q1amrgr>" %}
