DL Traffic records every request to the dliu.com sites in one place: when it happened, which IP it came from and which browser sent it. No site runs extra code and nothing runs while nobody is visiting.
Bot detection
How DL Traffic tells bots from people. CloudFront does not flag bots, so the dashboard combines one instant check on each request with a daily job that judges every IP address.
Cost
What DL Traffic costs to run, and why. Nothing runs while nobody visits; every part is billed per use, and at the traffic of the dliu.com sites the whole monitor costs about $0.23 a month.
Security review
How DL Traffic is protected, what was tested against the live site and which risks are knowingly accepted.
Every 15 minutes status.dliu.com visits this site as a guest, without signing in, from Ireland, Virginia and Tokyo. It opens the public pages, asks the site to check its own storage and scheduled jobs, then marks each function as working, slow or not working. It also checks the home page and /health from mainland China every hour, through Globalping probes.
6functions tested
12checks
15 minbetween test runs
4places: Ireland, Virginia, Tokyo; mainland China hourly
How the site is tested
GuestTesters
status.dliu.comEvery 15 minutes, from Ireland, Virginia, Tokyo
Mainland China probesHourly, through Globalping: home page and /health
over the internet, no sign-in
EdgePages and endpoints tested
traffic.dliu.comHome page, docs and the version for machines
Public statistics/stats/7d.json: the numbers guests see
Page script/t/s.js: the small script every site loads
Microsoft sign-in/auth/login goes to Microsoft; /api/me turns guests away
/health: the site checks itself
App/health and the backend
Dashboard LambdaOne quick read per part; never runs a query
one quick read each
PrivateWhat it reads
Site bucketWhen the public numbers were last worked out
Sign-in settingsThe same read sign-in does
PartitionerFiled new logs in the last 3 hours?
Bot checkWhen it last finished, and how old its hosting list is
How a test run goes
status.dliu.comAs a guest, from Ireland, Virginia, Tokyo; mainland China hourly
Opens the public pagesHome page, docs, public numbers, the small script and the Sign in button
Asks the site to check itself/health looks at its storage, sign-in settings and scheduled jobs
Records the resultOne result per function, shown on status.dliu.com
What each result means
WorkingEverything as expected
Slow or out of dateStill works, but slow or showing old data
Not workingVisitors notice
Functions tested
Function
✓ When it works
How it is tested
Pages and endpoints tested
✗ If it stopped working, a visitor would notice
Pages
You can open the dashboard and the docs.
Opens the dashboard, the docs and the technical version for machines, and checks each one opens in time.
home page, /docs, /docs/health, /docs/health.md
The site doesn't open.
Public statistics
The 7, 30 and 90-day visit numbers guests see are updated every day.
Downloads the numbers guests see, and asks the site how long ago they were worked out.
/stats/7d.json, /health
The numbers are stuck on an old day.
Page script
The small script every site loads downloads, so time on page and clicks are recorded.
Downloads the small script and checks it is the right one.
/t/s.js
The sites stop recording time on page and clicks; visitors themselves notice nothing.
Microsoft sign-in
Sign in takes you to Microsoft, and private data stays locked until you do.
Clicks Sign in and checks it goes to Microsoft, asks for private data without signing in and checks it is refused, then asks the site whether it can read its sign-in settings.
/auth/login, /api/me, /health
The owner can't sign in to see the full dashboard; guests notice nothing.
Request logging
Every visit to every site is recorded as it happens.
Asks the site whether it filed any new visit records in the last 3 hours.
/health
New visits stop being recorded and the dashboard stands still.
Bot check
Bots are recognised, so they aren't counted as people.
Asks the site when the bot check last finished and how old its list of hosting networks is.
/health
Bots get counted as people, so visitor numbers run high.
The site counts as down when Pages or Request logging stops working; when anything else stops working it counts as partly working.
How many checks each function has
What isn't tested
The full dashboard you only see after signing in.
The Check bots now button and the IP reputation lookups: they need a sign-in, and the free lookups per day are limited.
The reports the small script sends back: a test report would count as a real visit.
Finishing the sign-in at Microsoft: it needs an approved account.
The daily merge of visit records and the monthly city database download are seen only indirectly: when they break, the public numbers or the bot check go out of date.