Dev Blog

BLOG

Launching a status page you can contact us from

status.metronome.fm, a page showing whether the service is up, now runs on Better Stack. What is monitored, a custom domain that took a single Cloudflare CNAME, and a contact button on the status page that opens the form inside the app.

Published October 7, 2026

Metronome.fm now has a status page that shows whether the service is up: status.metronome.fm. It runs on Better Stack. It went live on the same day I started on it. The only changes in the app were a component that opens the contact form and a link from the docs (the pages that explain how to use the app).

I wanted one after seeing status pages for other services. I was already sending error logs to Better Stack, so I kept the uptime monitoring, and the status page that shows its results, in the same place.

I use Better Stack on the Free plan. Everything in this post, including the monitors, the custom domain, and the Japanese page, works within the free tier.

The Better Stack billing page. Number 1 marks the line You're currently on the Free plan.
Billing page
  1. Still on the Free plan

This post covers what is monitored, how the custom domain points to Better Stack, and how the status page links back to the contact form in the app.

What is monitored

I set up two monitors in Better Stack (Uptime monitors). Both send a GET request to a URL and decide whether the site is up from the HTTP status of the response.

URL
Interval
Timeout
Regions
https://metronome.fm/app
3 min
30 s
Europe, US, Asia, Australia
https://metronome.fm/ja
3 min
30 s
Same as above

/app is the app itself and /ja is the Japanese landing page (LP). Both follow redirects and check that the SSL certificate is valid.

On the monitor settings page you choose when to be alerted (Alert us when) and which URL to monitor. I alert when the URL becomes unavailable. On the Free plan you can alert when the URL becomes unavailable, when the returned page does or doesn't contain a keyword, when it returns an unexpected status, or when the host doesn't respond to ping. TCP, DNS, Playwright scenarios and others require a paid plan. Advance alerts for expiring SSL certificates or domains are not available on the Free plan either.

Better Stack monitor settings. Number 1 marks URL becomes unavailable under Alert us when, number 2 marks https://metronome.fm/app under URL to monitor.
Monitor settings
  1. Alert when the URL becomes unavailable
  2. The URL to monitor

As soon as a check fails, it is treated as an incident without waiting (Confirmation period set to Immediate start). Once the site has stayed up for 3 minutes after that, the incident is marked resolved (Recovery period).

Advanced monitor settings. Number 1 marks 3 minutes under Check frequency, number 2 marks Immediate start under Confirmation period.
Check interval and how long to wait before opening an incident
  1. Check every 3 minutes
  2. Open an incident right away when a check fails

Both monitors are shown on the status page, so if either the app or the LP goes down, users can see it.

Current status by service on the status page. Number 1 marks the metronome.fm/app row and number 2 the metronome.fm/ja row, each with a 90-day uptime bar.
Current status by service
  1. The app (/app)
  2. The Japanese landing page (/ja)

Pointing status.metronome.fm at Better Stack

Metronome.fm is built with Next.js. Before I started, I wondered whether Next.js could serve a subdomain like status.metronome.fm. It turned out I didn't change Next.js or the app code at all. Better Stack serves the status page, and all I had to do was point the name at it with DNS.

The DNS for metronome.fm is on Cloudflare. I created one CNAME record named status that points to the host serving Better Stack's status pages.

The status page settings show the CNAME record to create in a table, and once it resolves correctly they show "The CNAME is configured correctly". If your DNS is on Cloudflare, a button on this screen lets you sign in to Cloudflare, approve, and have the record created for you.

Custom domain settings for the status page. Number 1 marks the CNAME row from status.metronome.fm to statuspage.betteruptime.com, number 2 marks The CNAME is configured correctly.
Custom domain settings
  1. Create this CNAME in your DNS (Cloudflare)
  2. Shown once the record resolves correctly

I created the record with that button. It is not proxied through Cloudflare (DNS only), so dig shows the CNAME target as is.

$ dig +short status.metronome.fm CNAME
statuspage.betteruptime.com.

Opening the app's contact form from the status page

A Better Stack status page can show a contact button in the top right. You set where it goes by entering one URL in the "Get in touch URL" setting. mailto: links work too, and leaving it empty hides the button.

Top right of the status page. Number 1 marks the contact button.
Top right of the status page
  1. The contact button. It opens the form in the app

Metronome.fm takes inquiries through a form (a modal) that opens on top of the app. There is no separate page for the form, so a URL can't open it directly. Instead, I made /app open the form when ?contact=open is in the URL. The status page's Get in touch URL is set to https://metronome.fm/app?contact=open.

Status page settings. Number 1 marks https://metronome.fm/app?contact=open under Get in touch URL.
Status page settings
  1. Where the contact button goes (Get in touch URL)
export const ContactLinkOpener = () => {
  const searchParams = useSearchParams();
  const router = useRouter();
  const pathname = usePathname();
  const openContactFormModal = useModalState(
    (state) => state.openContactFormModal,
  );
  const shouldOpen = searchParams.get("contact") === "open";

  const open = useEffectEvent(() => {
    const rest = new URLSearchParams(searchParams);
    rest.delete("contact");
    const query = rest.toString();
    router.replace(query ? `${pathname}?${query}` : pathname);
    openContactFormModal();
  });

  useEffect(() => {
    if (shouldOpen) open();
  }, [shouldOpen]);

  return null;
};

Once the form opens, contact=open is removed from the URL. Otherwise the form would open again on reload, or after closing it and moving to another page in the app. Any other parameters in the URL are kept.

The contact form open on top of the Metronome.fm app.
Right after opening /app?contact=open. The form opens on top of the app

The component renders nothing and runs inside the header. In Next.js, a component that uses useSearchParams leaves everything up to the nearest Suspense boundary out of the prerendered HTML, and that part renders in the browser instead. To keep the whole header from doing that, only this component is wrapped in Suspense.

The Japanese page and links from Metronome.fm

The status page is in English at status.metronome.fm/ and in Japanese at status.metronome.fm/ja. Visitors can also switch with the language picker at the bottom of the page.

Better Stack's translation feature requires the newer status page design (Modern look).

Status page settings. Number 1 marks the note that translations are a Modern look feature, number 2 marks Modern look under Status page design.
Status page design settings
  1. Translations are a feature of the newer design (Modern look)
  2. Set the design to Modern look

Better Stack has ready-made translations, but only for English, German, French, Spanish, Dutch, Czech, Swedish and Turkish, not Japanese.

So I created my own translation with the locale ja. It has 256 strings written in Japanese, covering navigation, status labels, the reports posted automatically during an incident, and more. Claude wrote the translations. Inside a string, the company name can be written with a placeholder like %{company_name}.

Translation settings. Number 1 marks ja under Locale, number 2 marks None under Ready-made language, number 3 marks the Japanese text in the Status field.
Settings for the Japanese translation
  1. The locale is ja
  2. No ready-made Japanese, so None
  3. Each string is written in Japanese, one by one
Bottom of the status page. Number 1 marks the language picker.
Bottom of the status page
  1. The language picker

On Metronome.fm, the status page is linked from the docs top page and from the release notes for the version that added it (v2.5). The link follows the language the page is shown in: / for English and /ja for Japanese.

export const getStatusPageUrl = (locale: string) =>
  locale === DEFAULT_LOCALE
    ? `${STATUS_PAGE_URL}/`
    : `${STATUS_PAGE_URL}/${locale}`;

Share this post

Post on X