View detailed resource usage for a cloud function

更新时间:
复制 MD 格式

This topic describes how to view the detailed resource usage in GB-seconds (GBs) for a single cloud function on any day within the last 30 days.

Procedure

  1. Log on to the EMAS console and click Serverless.

  2. In the navigation pane on the left, click Cloud Function.

  3. Click a function name, and on the function details page, click the Detailed Resource Usage (GBs) tab.image

Parameter description

Parameter

Description

Time

Definition: The start time of the hourly statistics interval.

Actual resource usage (GBs)

Definition: The amount of compute resources that the function actually consumed within the hour. This reflects the actual resource usage of the code. The value is displayed with up to four decimal places.

Billed resource usage (GBs)

  • Definition: The amount of resources used for billing for the hour. The value is displayed with up to four decimal places.

  • Description:

    • If the minimum consumption rule is not met, this value is equal to the actual resource usage.

    • If the minimum consumption rule is met and the fee calculated based on actual usage is less than CNY 0.01, the resource amount corresponding to CNY 0.01 is billed. Therefore, the billed resource usage may be greater than the actual resource usage.

Minimum consumption rule met

  • Description: Indicates whether the minimum consumption rule was triggered for the hour. The value is Yes or No.

Note

Hourly minimum consumption rule for cloud function resource usage (minimum consumption rule)

Starting from 00:00:00 (UTC+8) on March 16, 2026, an hourly minimum consumption rule applies to cloud function resource usage (GBs):

  • When the system calculates the daily bill, it first assesses resource consumption by function and by hour.

  • If a function consumes compute resources (GBs > 0) within an hour, the compute resource fee for that hour is at least CNY 0.01.

    • If the actual fee is greater than or equal to CNY 0.01, you are billed based on the actual usage.

    • If the actual fee is less than CNY 0.01, you are billed CNY 0.01.

  • Functions that do not run are not billed. This allows for zero-cost operation.

  • For more information, see [Billing Change] EMAS Serverless Cloud Function Billing Rule Change.

Time range and refresh rules

  • You can view detailed resource usage for any day within the last 30 days. The data is displayed hourly, with a total of 24 rows.

  • Date picker:

    • The current day is selected by default. You can select any day within the last 30 days, including the current day.

    • After you select a day, the hourly data from 00:00 to 23:59 for that day is displayed.

  • Current day vs. past dates:

    • Past dates: The complete 24-hour data for the selected date is displayed.

    • Current day:

      • Complete data is displayed for past hours.

      • A row is also displayed for the current hour, but it contains data only up to the current moment.

  • Refresh rules:

    • When you open the page, data for the current day is loaded by default.

    • When you switch dates, the data for the selected date is queried immediately.

    • Clicking Refresh reloads the data for the currently selected date without changing the date.