All Products
Search
Document Center

ApsaraMQ for RocketMQ:Billing details

Last Updated:Aug 27, 2024

This topic describes how to view the billing details of ApsaraMQ for RocketMQ 4.x Standard Edition instances to help you resolve the following issues:

Query procedure

  1. Log on to the Expenses and Costs console. In the left-side navigation pane, choose Bills > Bill Details. On the Bill Details page, click the Billing Details tab.

  2. On the Billing Details tab, specify the billing cycle and service to search the bills.

How do I view the daily fees and usage of each topic?

Query method

On the Billing Details tab of the Bill Details page, select the following filter conditions:

  • Statistics Item: Select Billing Item.

  • Statistic Period: Select By Day.

image.png

Description of the queried result

Column name

Description

Instance ID

Billing details are displayed based on topics.

The values in this column are in the <ApsaraMQ for RocketMQ instance ID;Topic name> format.

Billing Item

  • Topic occupancy

  • API calls

  • Internet traffic

Usage

  • Topic occupancy: Once is counted for each topic per day.

  • API calls: The total number of received and delivered messages in the topic on a day.

    Important

    The number of API calls in a bill is calculated by using the following formula: Number of API calls = Number of received and sent messages × Multiple for message size × Multiple for featured messages. For more information, see Billing of the messaging feature.

  • Internet traffic: The amount of outbound Internet traffic that is generated by the topic on a day.

Pretax Gross Amount

The nominal amount that you must pay based on the prices that are displayed on the official website.

How do I view the hourly usage of a topic?

Query method

On the Usage Records tab of the Bill Details page, select the following filter conditions and click Export CSV.

  • Product: Select ApsaraMQ for RocketMQ.

  • Billable Item: Select ApsaraMQ for RocketMQ 4.0.

  • Usage Time: Enter a time range based on your business requirements.

  • Time Unit: Use the default value Hour.

image.png

Description of the queried result

Column

Description

Topic

Usage details are displayed based on topics.

The values in this column are in the <ApsaraMQ for RocketMQ instance ID;Topic name> format.

Send

The number of messages that are sent by the specified topic per hour.

Important

The number of API calls in a bill is calculated by using the following formula: Number of API calls = Number of received and sent messages × Multiple for message size × Multiple for featured messages. For more information, see Billing of the messaging feature.

Receive

The number of messages that are received by the specified topic per hour.

Important

The number of API calls in a bill is calculated by using the following formula: Number of API calls = Number of received and sent messages × Multiple for message size × Multiple for featured messages. For more information, see Billing of the messaging feature.

NetworkOut

The amount of inbound Internet traffic that is generated by the specified topic per hour.

Why is the number of API calls in the bill different from the statistics on the dashboard?

  • The API call number that is displayed on a dashboard indicates the actual number of messages that are received and sent.

  • The API call number displayed on a bill is calculated by using the following formula: Number of API calls = Number of received and sent messages × Multiple for message size × Multiple for featured messages. For more information, see Billing of the messaging feature.

Therefore, the number of API calls or the number of sent and received messages in the bill may be larger than the statistics that is displayed on the dashboard.