Synthetic status page

Difficulty level: Medium

Objective

Sometimes, you need a good way for customers to check on the status of your various systems. It has to be robust enough to always be available and current, and super easy to update using an API. Fastly's edge dictionaries provide a great way to store and update the data.

This challenge includes a VCL table, which is making dictionary data available to your VCL service. Modify the code so that a request for /systemstatus will return an HTML page directly from the edge, making no backend fetches. The resulting page should show the status information from the system_status VCL table. If the table contains the word "up", the HTML response for that entry should show "{Label}: Working", whereas if the table contains anything else, print the content of the table entry to the status page.

Try this challenge now

For a guide to how challenges work see getting started.

User contributed notes

BETA

Do you see an error in this page? Do have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact support@fastly.com)