Documentation

Did you find this helpful?

Daily and Monthly CDN Usage Report

Daily Content Usage Report

CDN Usage Report contains two graphs displaying content usage over a 24 hour period: (1) Data Volume graph illustrates the distribution of transferred bytes, and (2) Access Count graph shows the distribution of content downloads over a specified period of time.

Monthly Content Usage Summary Report

This report summarizes monthly content usage. The table contains the amount of content bytes transferred as well as total number of downloads during a specified month.

Populating content usage reports

The following code template may be used to introduce some data for the reports:

public void GetContent()
{
    PlayFabClientAPI.GetContentDownloadUrl(new GetContentDownloadUrlRequest() {
        HttpMethod = "GET",
        Key = "ContentKey"
    }, result => {
        // Implement your own Download function based on URL
        DownloadContent(result.URL);
    }, error => {
        Debug.LogError(error.GenerateErrorReport());        
    });
}

It is important to understand that GetContentDownloadUrl API call,on it's own, does not produce new entry in the report. Instead, it provides you with a URI for the content download. You may use any HTTP request technique to execute a GET request. Once this is done, new entry will be added and reflected in both reports.

How to work with report charts

PlayFab Report Charts all follow the same model. In the top space of the page, you usually get a control panel (1). Control panel contains report name, observed time period and "Prev/Next" buttons to switch between the time periods. 

Chart panel (2) shows the available data as a chart, where horizontal axis corresponds to the time flow and vertical axis corresponds to the number of relevant instances, such as API calls, purchases, users, etc, depending on the report type.

There are some metrics available below the chart panel (3). Those contain sum of all the instance across the time period (SUM), the average number of instances through all the timestamps (AVG), peak value (MAX) and the lowest value (MIN).



Did you find this helpful?