Integrations › Uptime › Better Stack

Turn your Better Stack into build-in-public posts

Better Stack Uptime is a monitoring service that watches your web sites and endpoints, opens an incident when one stops answering, and reports an availability figure for any period you ask about. FoxPlug reads what you did there, scores it, and tells you what to fix, what to say and what to skip. Nothing posts until you approve it.

Built, not yet read live

1What FoxPlug reads from Better Stack

These are the exact things it reads, and nothing else.

WhatThe details it takes
Your monitorsthe first 100 monitors: id, display name, address, current status (down or not) and the date each was created
Incidents of the last 14 daysup to 100 incidents with a start time, a resolved time if there is one, and the cause text; each is matched to a monitor by its monitor id, or by the monitor's name appearing in the incident name
Better Stack's own 30 and 90 day availability for each monitorone request per monitor and window, for the first 20 monitors only; a monitor with no answer simply gets no uptime moment
A one-line summary of the readhow many monitors and how many are down right now, shown in the success message and kept on the connection with the time of the read

2Moments it finds, and what each becomes

A moment is one thing that happened in Better Stack worth a second look. Each one is scored, then it becomes a post, a changelog entry, a thing to fix or an idea to email, or it is skipped.

Fix first

a monitor has an open incident

The moment is titled like this: Public API is down

Better Stack opens an incident for your monitor Public API at 14:03 UTC and it has no resolved time. When you press Check for what's new, FoxPlug makes the moment 'Public API is down', saying it has been down since that time, with Better Stack's cause text in brackets if it gave one. It is held from posting and shows first in the Today brief.

Post

an incident is resolved

The moment is titled like this: Public API was down for 2 hours 10 minutes and is back

The incident is resolved after 2 hours 10 minutes. The moment reads 'Public API was down for 2 hours 10 minutes and is back' with the description 'went down on... and came back after 2 hours 10 minutes. It is fixed.' It is an ordinary update and can be skipped.

Post

Better Stack reports 99 percent or better over 30 or 90 days

The moment is titled like this: Public API stayed up 99.9% over 30 days

A monitor older than 30 days with nothing down shows 99.9 percent availability for the last 30 days in Better Stack. FoxPlug makes one moment for that month, 'Public API stayed up 99.9% over 30 days', credited to Better Stack.

3How the brain uses it

The rules below are the ones that apply to Better Stack. The same rules, with worked examples, are on the brain page.

4Set up Better Stack in a few steps

Access: Uptime API token. What to give it: Uptime API token.

  1. Open Better Stack Uptime and sign in.
  2. Open the API tokens page in your settings (Better Stack's API guide shows where).
  3. Create an Uptime API token for your team.
  4. Copy the token.
  5. Paste it into FoxPlug and press Connect.

5Limits worth knowing

Where it stops, so nothing surprises you.

6What it never reads

Read only means read only, and the list below is what the code leaves alone.

  • On-call schedules, status pages, heartbeats or alert policies (only monitors, incidents and availability are requested)
  • Anything it writes back: no incident is acknowledged, resolved or edited, and no monitor changed
  • An uptime figure of its own: FoxPlug never works out a percentage itself

7Questions

Is the Better Stack token read-only?

No. The connect panel says the token is team-wide, so it can do more than read. FoxPlug only sends read requests.

Which Better Stack products does this cover?

Uptime only: monitors, incidents and the availability figure.

Will a down monitor be posted about?

No. It becomes a fix-first card in the Today brief. Only the later 'is back' update can become a post, and you can skip it.

When does it look at Better Stack?

Only when you press Check for what's new.

FoxPlug reads this tool only when you press Check for what's new, and only to read. Plans and limits are on the pricing page. Questions: support.