# Reports

## Overview

Servoy Cloud generates daily Environment Reports for all **production** environments within an application.

These reports are generated every day at **21:00 cloud region time** and provide a high-level overview of the past day's activity within your environment.

## Report Contents

The daily environment report includes various metrics displayed as interactive tiles. Each metric can be clicked for more detailed information.

{% hint style="warning" %}
Report data can always be reviewed in the past. However, access to detailed data may be limited over time.
{% endhint %}

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-4c1d1afe4416ab60cea3122e6bd719f2b1dfa07d%2Fccc_application_report_demo.png?alt=media" alt=""><figcaption><p>Partial Report Example</p></figcaption></figure>

Here are the key components of a report:

### **User Connections**

Displays a graph representation of the number of users connected throughout the past 24 hours, along with minimum and maximum values.

### **CPU Usage**

Displays a graph representation of the CPU usage percentage for each environment pod, along with the minimum and maximum values in the past 24 hours.

### **Database Connections**

Shows a visual representation of the number of database connections over the past 24 hours, along with the minimum and maximum values in the past 24 hours.

### **Database Locks**

Indicates the total number of database locks that occurred in the past 24 hours

### **Number of Log Errors and Warnings**

* Number of Log Errors: Displays the total number of errors logged in the past 24 hours
* Number of Log Warnings: Displays the total number of warnings logged in the past 24 hours

### **Downtime (**&#x4E;umber of Interruptions)

Shows the number of interruptions or downtimes experienced in the past 24 hours

### **Top 10 Slow Queries**

A table listing the top 10 slowest database queries executed in the past 24 hours

### Top 10 Slow Methods

A table listing the top 10 slowest methods executed in the past 24 hours

## How to access

To access the daily environment reports:

* Navigate to `Project Overview -> Applications`
* Click on an application card to navigate to `Application Details`
* Click on the `Reports` tile

The Application Reports section provides a clickable list of all the reports generated for the selected application, with each item in the table displaying a timestamp for when it was generated.

Assuming data is still available, each report metric is clickable and can be viewed in-depth.

## Setup Report Email Notifications

{% hint style="warning" %}
Email notifications are enabled on Application level. Repeat these steps for each application you want to configure email notification recipients.
{% endhint %}

You can opt to enable email notifications, when a report is generated, summarizing the environment report.

To set up email notifications and choose email recipients, navigate to Application Settings:

* Navigate to `Project Overview -> Applications`
* Click on an application card to navigate to `Application Details`
* Click the settings icon <img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-5f1a68ccaff7151a3b26d1faf2e57de92f412c65%2FSCR-20230904-nvhu-2.png?alt=media" alt="" data-size="line"> to navigate to `Application Settings`

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-3badf9246887b0ad3f3747969e46301cd5b46ad7%2Fccc_application_settings.png?alt=media" alt=""><figcaption><p>Application Settings Menu</p></figcaption></figure>

* On the `Application Settings` screen, go to `Production Report Email Recipients`
* Click on the text input to select the namespace users who should receive the report emails
* `Save` the changed settings

<figure><img src="https://3933488479-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjpWd52BKwABWxF2lScUK%2Fuploads%2Fgit-blob-b95d6f8defbacc132a57993edf22f8985feec830%2Fccc_application_settings_email_recipients.png?alt=media" alt=""><figcaption><p>Application Settings screen</p></figcaption></figure>

{% hint style="success" %}
Once recipients are configured, email notifications are enabled for the application and they will receive an email for each production environment report generated.
{% endhint %}
