跪拜 Guibai
← All articles
Backend

A Site Monitoring Tool Was Silently Draining CDN Budget

By 潍坊中登_北北物联 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

Self-monitoring traffic can look like real growth and quietly burn CDN budget; a log review and one interval change prevent recurring charges on any usage-billed site.

Summary

A developer noticed unexplained traffic spikes on their personal website and initially thought it had gone viral. CDN charges were accruing at several yuan per day, a real cost for a small side project. Digging through the logs showed the actual source: their own site monitoring tool, which was probing the website on a much shorter interval than expected.

The fix was straightforward: change the detection frequency to once every 24 hours. That single configuration change eliminated the self-inflicted traffic and stopped the daily CDN fees. The episode is a reminder that monitoring tools consume resources too, and a misconfigured check interval can quietly turn into a recurring bill.

For anyone running a site with CDN or usage-based billing, checking monitoring probe frequency against actual log traffic is a cheap way to catch this class of problem before it shows up as a surprise charge.

Takeaways
— The site monitoring tool's frequent probes generated enough requests to cause several yuan per day in CDN costs.
— Log analysis, not dashboard guesses, identified the monitoring tool as the traffic source.
— Changing the probe interval to once every 24 hours stopped the unnecessary CDN expenditure.
— Monitoring tools themselves consume bandwidth and can trigger usage-based fees if check frequency is too high.
Conclusions

A monitoring tool that checks too often can become a self-DoS attack, especially on a small site with low natural traffic.

The cost was noticeable only after it accumulated daily, so usage-based billing makes even modest probe rates financially visible.

Concepts & terms
CDN
Content Delivery Network. A network of servers that cache and serve website content to users from locations closer to them, often billed per request or per volume of data transferred.
Site monitoring tool
A service or script that periodically sends HTTP requests to a website to verify it is online and responding correctly. The frequency of these checks is configurable.
Probe interval
The time between successive health-check requests from a monitoring tool. A short interval (e.g., every minute) generates many more requests than a long one (e.g., every 24 hours).
Source: juejin.cn ↗ Google Translate ↗ Backup ↗