This topic describes the billing for the Web/H5 monitoring feature of EMAS Application Monitoring.
Billing methods
EMAS Application Monitoring supports two main billing methods:
Billing by monthly active devices: This billing method is currently used for the Crash Analytics and App Performance Analytics features of mobile apps. For more information, see the Product Billing document.
Billing by event volume: This method is used for Web/H5 monitoring.
This topic describes the billing method based on event volume.
Event volume details
Each exception or performance metric collection generates a report. For each report, the event volume is calculated based on the weight of the reported item. The rules are as follows:
The event volume is the total number of reports collected by EMAS Application Monitoring. This volume is updated daily based on statistics from the Application Monitoring console.
Different reported items generate different event volumes. EMAS Application Monitoring assigns a weight to each reported item type. Billing is based on the total event volume, which is calculated as a weighted sum. The formula is: Total event volume = Sum of (Number of reports for each item type × Weight of the corresponding item).
Web/H5 monitoring event weights
Feature module | Reported item | Weight | |
PV | PV | 0.01 | |
Exception monitoring | JS error | 20 | |
White screen | 20 | ||
Performance monitoring | Page performance | FP | 1 |
FCP | 1 | ||
LCP | 1 | ||
LOAD | 1 | ||
TTFB | 1 | ||
INP | 1 | ||
CLS | 1 | ||
Runtime performance | 1 | ||
Network monitoring | Static resource | 1 | |
Request | 1 | ||
Billing details
The cost for event volume-based billing is affected by factors such as feature toggles, sample rate changes, and metric fluctuations. You can use the reporting configuration to toggle event reporting and configure sample rate rules for each reported event.
For example, if your application generates the following reports on January 1, 2024, the total daily event volume is calculated as follows:
Reported item | Daily reports (count) | Weight | Daily event volume (count) | |
PV | 10,000 | 0.01 | 100 | |
White screen | 200 | 20 | 4,000 | |
Page performance | FP | 10,000 | 1 | 10,000 |
LCP | 10,000 | 1 | 10,000 | |
Runtime performance | 10,000 | 1 | 10,000 | |
Request | 20,000 | 1 | 20,000 | |
Total daily event volume (count) | 54,100 | |||
New features may be added as EMAS Application Monitoring is updated. These additions do not affect the features included at the time of your purchase. You can use the reporting configuration to enable or disable related features. If you enable a new feature, the data it collects will be included in the total event volume according to the new feature's event weight.
Billing management
Billing: Usage is calculated and billed daily. To view event volume statistics, see Billing Management.
Bills: Bills are typically generated around 03:00 the next day. The actual generation time may vary. To view your bills, see View bills.
Sales models
Web/H5 monitoring supports pay-as-you-go and subscription resource plans.
Pay-as-you-go
With pay-as-you-go, you are billed for your usage at a fixed unit price. For information about how the total event volume is calculated, see the Event volume details section above.
Event volume | Price (CNY) |
10,000 entries | 1 |
The price is CNY 1 per 10,000 events, which means the unit price is CNY 0.0001 per event. For example, in the Billing details section, the total daily event volume for January 1, 2024, is 54,100 events. The daily cost is 54,100 events × CNY 0.0001/event = CNY 5.41.
Subscription resource plan
Resource plans are available in different tiers based on event volume. When you purchase a resource plan for the first time, you can claim a free trial resource plan. To purchase a resource plan, see Purchase resource plan. You can purchase multiple resource plans at the same time. They are consumed in the order they were purchased.
Event volume resource plan (events) | Validity period (year) | Resource plan price (CNY) | Discount compared to pay-as-you-go |
10,000,000 (10 million) | 1 | 850 | 15% off |
100,000,000 (100 million) | 1 | 7,000 | 30% off |
500,000,000 (500 million) | 1 | 30,000 | 40% off |
1,000,000,000 (1 billion) | 1 | 55,000 | 45% off |
For example, if the average daily event volume in 2024 is 54,100 events, the total annual event volume is 54,100 events × 365 days = 19,746,500 events. If you purchase two 10-million-event resource plans, the annual cost is 2 × CNY 850 = CNY 1,700. This is more cost-effective than the pay-as-you-go model, which would cost 19,746,500 events × CNY 0.0001/event = CNY 1,974.65 per year.
Offset order
Event volume is first deducted from your subscription resource plans. After your resource plans are depleted, the billing method automatically switches to pay-as-you-go.
If your account has an overdue payment, your service will be interrupted. To ensure business continuity, check your account balance and add funds regularly.
Unsubscription details
Unsubscription is not applicable to the pay-as-you-go model. You can only unsubscribe from subscription resource plans.
To request an unsubscription, submit a ticket for manual processing.
Refunds are calculated based on your actual resource usage. For more information about refund destinations, see Refund destinations.
Refunds only apply to the amount you paid for an order with cash or a stored value card. The portion of the payment covered by vouchers or coupons is not refundable.