<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>yasp: self-hosted status pages and uptime monitoring - Notes from building yasp</title>
    <subtitle>yasp checks your services, shows their status on a public or private page, and tells people when something breaks. Open source, one Rust binary on SQLite or Postgres.</subtitle>
    <link rel="self" type="application/atom+xml" href="https://yasp-dev.github.io/blog/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://yasp-dev.github.io/blog/"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-11-30T00:00:00+00:00</updated>
    <id>https://yasp-dev.github.io/blog/atom.xml</id>
    <entry xml:lang="en">
        <title>How to calculate uptime, and what 99.9% really allows</title>
        <published>2026-11-30T00:00:00+00:00</published>
        <updated>2026-11-30T00:00:00+00:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yasp-dev.github.io/blog/how-to-calculate-uptime/"/>
        <id>https://yasp-dev.github.io/blog/how-to-calculate-uptime/</id>
        
        <content type="html" xml:base="https://yasp-dev.github.io/blog/how-to-calculate-uptime/">&lt;p&gt;&quot;99.9% uptime&quot; sounds precise, but two tools can report different numbers for the same
week. Here&#39;s the arithmetic, the table everyone ends up needing, and the decisions hidden
inside the number.&lt;/p&gt;
&lt;h2 id=&quot;the-basic-formula&quot;&gt;The basic formula&lt;/h2&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;uptime = time it was up / time you measured&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Over a 30-day month (43,200 minutes), 43 minutes down is
&lt;code&gt;(43,200 − 43) / 43,200 = 99.90%&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;how-much-downtime-each-target-allows&quot;&gt;How much downtime each target allows&lt;/h2&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Target&lt;/th&gt;&lt;th&gt;Per year&lt;/th&gt;&lt;th&gt;Per 30-day month&lt;/th&gt;&lt;th&gt;Per week&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;99%&lt;/td&gt;&lt;td&gt;3 days 15 h 36 min&lt;/td&gt;&lt;td&gt;7 h 12 min&lt;/td&gt;&lt;td&gt;1 h 40 min 48 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;99.5%&lt;/td&gt;&lt;td&gt;1 day 19 h 48 min&lt;/td&gt;&lt;td&gt;3 h 36 min&lt;/td&gt;&lt;td&gt;50 min 24 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;99.9%&lt;/td&gt;&lt;td&gt;8 h 45 min 36 s&lt;/td&gt;&lt;td&gt;43 min 12 s&lt;/td&gt;&lt;td&gt;10 min 4.8 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;99.95%&lt;/td&gt;&lt;td&gt;4 h 22 min 48 s&lt;/td&gt;&lt;td&gt;21 min 36 s&lt;/td&gt;&lt;td&gt;5 min 2.4 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;99.99%&lt;/td&gt;&lt;td&gt;52 min 33.6 s&lt;/td&gt;&lt;td&gt;4 min 19.2 s&lt;/td&gt;&lt;td&gt;1 min 0.48 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;99.999%&lt;/td&gt;&lt;td&gt;5 min 15.4 s&lt;/td&gt;&lt;td&gt;25.9 s&lt;/td&gt;&lt;td&gt;6.05 s&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;A year here is 365 days. Each extra nine cuts the budget tenfold: at 99.99%, one slow
deploy can use a month&#39;s allowance.&lt;/p&gt;
&lt;h2 id=&quot;the-choices-inside-the-number&quot;&gt;The choices inside the number&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;What counts as down?&lt;/strong&gt; A service that&#39;s slow isn&#39;t the same as one that&#39;s off. Most
status pages separate &lt;em&gt;degraded performance&lt;/em&gt;, &lt;em&gt;partial outage&lt;/em&gt; and &lt;em&gt;major outage&lt;/em&gt;. If a
partial outage counts fully as down, a problem affecting 5% of requests costs as much as a
total blackout. If it doesn&#39;t count at all, a page can show 100% while customers suffer.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Does maintenance count?&lt;/strong&gt; If you announced a window and kept to it, many teams leave it
out of the denominator. Then your number reflects surprises, not planned work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What about gaps in the data?&lt;/strong&gt; If the monitor itself was down, you don&#39;t know whether
the service was up. Counting the gap as up flatters you; counting it as down punishes you
for your monitoring&#39;s problems. Leaving it out of the denominator is the honest middle.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Rounding.&lt;/strong&gt; 99.996% rounds to 100.00% unless you round down. A page that says 100.00%
should mean no downtime at all.&lt;/p&gt;
&lt;h2 id=&quot;how-yasp-counts&quot;&gt;How yasp counts&lt;/h2&gt;
&lt;p&gt;yasp makes those choices explicit, per component, over the time each one spent in each
status:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;plain&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span&gt;uptime = 1 − (major + 0.3 × partial) / (window − maintenance − no data)&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Degraded performance counts as up.&lt;/strong&gt; It&#39;s working, slowly.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A partial outage counts as 30% down&lt;/strong&gt;, a &lt;strong&gt;major outage&lt;/strong&gt; as fully down.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maintenance and periods without data are left out&lt;/strong&gt; of the window.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Percentages are rounded down&lt;/strong&gt; to two decimals, so 100.00% appears only when there was
no downtime at all.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each day&#39;s bar on a yasp status page is split by how long the component spent in each
status, so a 20-minute outage looks like 20 minutes, not a whole red day.&lt;/p&gt;
&lt;h2 id=&quot;measure-it-where-your-users-are&quot;&gt;Measure it where your users are&lt;/h2&gt;
&lt;p&gt;The number is only as good as the checks behind it. Checking from one place can&#39;t tell
&quot;the service is down&quot; from &quot;the path to it is down&quot;. yasp can check from several
&lt;a href=&quot;https://yasp-dev.github.io/docs/probes/&quot;&gt;probes&lt;/a&gt; and count a failure once they agree.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Introducing yasp: status pages and uptime monitoring in one binary</title>
        <published>2026-11-30T00:00:00+00:00</published>
        <updated>2026-11-30T00:00:00+00:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yasp-dev.github.io/blog/introducing-yasp/"/>
        <id>https://yasp-dev.github.io/blog/introducing-yasp/</id>
        
        <content type="html" xml:base="https://yasp-dev.github.io/blog/introducing-yasp/">&lt;p&gt;There are good uptime monitors you can host yourself, and good status page products you
can pay for. What we couldn&#39;t find was one tool, on our own server, that handles the whole
arc of an outage: noticing it, being sure it&#39;s real, saying so in public, telling the people
who care, and writing it up afterwards. So we built &lt;strong&gt;yasp&lt;/strong&gt;, Yet Another Status Page.&lt;/p&gt;
&lt;h2 id=&quot;what-it-does&quot;&gt;What it does&lt;/h2&gt;
&lt;p&gt;yasp checks your services from one place or many, turns the results into the status of the
components your users recognise (&quot;API&quot;, &quot;Website&quot;, &quot;Payments&quot;), and shows them on a status
page. When something breaks, it can draft or publish an incident, notify subscribers by
email, Slack, Teams, browser push or webhook, and page whoever is on call. When it&#39;s fixed,
the incident resolves itself, and you write the postmortem on the page people already
looked at.&lt;/p&gt;
&lt;p&gt;All of that is one Rust binary with a SQLite file or a Postgres database. No runtime to
install, no queue or cache to run next to it. On our demo server it uses about 29 MB of
memory.&lt;/p&gt;
&lt;h2 id=&quot;what-s-different&quot;&gt;What&#39;s different&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;It checks before it shouts.&lt;/strong&gt; A failure from one probe doesn&#39;t change anything on its
own. Flap damping waits out blips, and with several probes a failure counts once they agree,
so one bad network path doesn&#39;t put &quot;Major outage&quot; in front of your customers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Probes go where your services are.&lt;/strong&gt; &lt;code&gt;yasp-probe&lt;/code&gt; is a small static binary that only
connects out. Put one in another region to see what your users see, or inside a LAN,
WireGuard, Tailscale or NetBird network to check what your server can&#39;t reach.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Pages for every audience.&lt;/strong&gt; A public page, and private ones for a customer or an
internal team, behind their SSO group, an emailed sign-in link, a shared password, or their
office network.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It&#39;s built for teams.&lt;/strong&gt; Sign in with OpenID Connect, SAML or email links, map your
identity provider&#39;s groups to roles, provision with SCIM, and see every change in the audit
log. Alerts from Prometheus Alertmanager, Grafana, Datadog, New Relic and CloudWatch can
drive components too.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Public pages are quiet.&lt;/strong&gt; They&#39;re rendered on the server, work without JavaScript, set
no cookies and load nothing from anyone else.&lt;/p&gt;
&lt;h2 id=&quot;try-it&quot;&gt;Try it&lt;/h2&gt;
&lt;p&gt;The &lt;a rel=&quot;noreferrer external&quot; href=&quot;https://yasp.akshit.me&quot;&gt;live demo&lt;/a&gt; is a read-only yasp you can click through: the
status page and the whole dashboard behind it. When you&#39;re ready, &lt;a href=&quot;https://yasp-dev.github.io/docs/getting-started/&quot;&gt;getting
started&lt;/a&gt; takes about fifteen minutes.&lt;/p&gt;
&lt;p&gt;yasp is open source under the Apache License 2.0. It&#39;s young, so if something doesn&#39;t work
the way you expect, &lt;a rel=&quot;noreferrer external&quot; href=&quot;https://github.com/yasp-dev/yasp/issues&quot;&gt;open an issue&lt;/a&gt;. We read them
all.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Monitoring services inside Tailscale, NetBird or a LAN</title>
        <published>2026-11-30T00:00:00+00:00</published>
        <updated>2026-11-30T00:00:00+00:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yasp-dev.github.io/blog/monitor-services-inside-tailscale-or-netbird/"/>
        <id>https://yasp-dev.github.io/blog/monitor-services-inside-tailscale-or-netbird/</id>
        
        <content type="html" xml:base="https://yasp-dev.github.io/blog/monitor-services-inside-tailscale-or-netbird/">&lt;p&gt;You add a monitor for &lt;code&gt;nas.netbird.cloud&lt;/code&gt; or &lt;code&gt;grafana.tail1234.ts.net&lt;/code&gt;, and it fails
straight away: &lt;strong&gt;could not resolve&lt;/strong&gt;. The host is fine. Your monitor just isn&#39;t inside the
network that host lives in.&lt;/p&gt;
&lt;h2 id=&quot;why-it-happens&quot;&gt;Why it happens&lt;/h2&gt;
&lt;p&gt;A check runs on a &lt;em&gt;probe&lt;/em&gt;: the machine that actually makes the request. If yasp runs on a
VPS and checks from there, it uses that VPS&#39;s DNS and routes. A name that only exists in
your Tailscale or NetBird network, or an address on your home LAN, means nothing to it.&lt;/p&gt;
&lt;p&gt;The fix is to run the check from a machine that &lt;em&gt;is&lt;/em&gt; inside the network.&lt;/p&gt;
&lt;h2 id=&quot;put-a-probe-inside-the-network&quot;&gt;Put a probe inside the network&lt;/h2&gt;
&lt;p&gt;&lt;code&gt;yasp-probe&lt;/code&gt; is a small static binary that runs checks and reports back to yasp. It only
makes outbound connections, so it needs no open ports and works behind NAT.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In yasp, go to &lt;strong&gt;Probes → Add probe&lt;/strong&gt;. You get a one-time token and the commands to
start it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On any machine in the network (a Raspberry Pi, the NAS, a spare VM), run:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-6 z-d-7&quot;&gt;curl&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;fsSL&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; https://status.example.com/probe/install.sh&lt;/span&gt;&lt;span class=&quot;z-l-8 z-d-10&quot;&gt; |&lt;/span&gt;&lt;span class=&quot;z-l-6 z-d-7&quot;&gt; sudo&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; sh&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; yasp_enr_…&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It downloads the release matching your yasp version, checks it against the release&#39;s
&lt;code&gt;SHA256SUMS&lt;/code&gt;, and installs it as a service.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&quot;allow-the-network-s-addresses&quot;&gt;Allow the network&#39;s addresses&lt;/h2&gt;
&lt;p&gt;Probes refuse private addresses by default, so a typo in a monitor can&#39;t scan your LAN or
a cloud metadata service. Under the probe&#39;s &lt;strong&gt;Network allowlist&lt;/strong&gt;, add:&lt;/p&gt;
&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Network&lt;/th&gt;&lt;th&gt;Allow&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Tailscale&lt;/td&gt;&lt;td&gt;&lt;code&gt;100.64.0.0/10&lt;/code&gt;, and &lt;code&gt;fd7a:115c:a1e0::/48&lt;/code&gt; for IPv6&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;NetBird&lt;/td&gt;&lt;td&gt;&lt;code&gt;100.64.0.0/10&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;A LAN or WireGuard&lt;/td&gt;&lt;td&gt;its range, e.g. &lt;code&gt;192.168.1.0/24&lt;/code&gt; or &lt;code&gt;10.8.0.0/24&lt;/code&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;h2 id=&quot;check-from-there&quot;&gt;Check from there&lt;/h2&gt;
&lt;p&gt;Create the monitor with &lt;strong&gt;Run from&lt;/strong&gt; set to the new probe, and press &lt;strong&gt;Test now&lt;/strong&gt;. It runs
the check once from the probe and shows what it saw. If it still fails, the message says
why: a name that only resolves inside a VPN gets a hint saying so, and a blocked address
names the allowlist.&lt;/p&gt;
&lt;h2 id=&quot;if-the-probe-runs-in-docker&quot;&gt;If the probe runs in Docker&lt;/h2&gt;
&lt;p&gt;A container doesn&#39;t use the host&#39;s VPN DNS: Docker&#39;s resolver forwards to the host&#39;s
upstream servers and skips Tailscale&#39;s or NetBird&#39;s. Either run the probe with
&lt;code&gt;network_mode: host&lt;/code&gt;, or set the monitor&#39;s &lt;strong&gt;DNS server&lt;/strong&gt; (under Advanced options) to the
network&#39;s resolver, like &lt;code&gt;100.100.100.100&lt;/code&gt; for Tailscale. That address has to be in the
allowlist too.&lt;/p&gt;
&lt;h2 id=&quot;while-you-re-there-processes&quot;&gt;While you&#39;re there: processes&lt;/h2&gt;
&lt;p&gt;A probe can also watch processes on its own machine: &quot;is &lt;code&gt;postgres&lt;/code&gt; running, and how many
&lt;code&gt;gunicorn&lt;/code&gt; workers?&quot; Add a &lt;strong&gt;Process&lt;/strong&gt; monitor that runs on that probe. In Docker, give the
probe &lt;code&gt;pid: host&lt;/code&gt; so it can see the host&#39;s processes.&lt;/p&gt;
&lt;p&gt;The full details are in &lt;a href=&quot;https://yasp-dev.github.io/docs/probes/&quot;&gt;probes and private networks&lt;/a&gt;.&lt;/p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>How to self-host a status page with Docker in ten minutes</title>
        <published>2026-11-30T00:00:00+00:00</published>
        <updated>2026-11-30T00:00:00+00:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://yasp-dev.github.io/blog/self-host-a-status-page-with-docker/"/>
        <id>https://yasp-dev.github.io/blog/self-host-a-status-page-with-docker/</id>
        
        <content type="html" xml:base="https://yasp-dev.github.io/blog/self-host-a-status-page-with-docker/">&lt;p&gt;A status page is where your users go when something seems broken. Hosting it yourself
means no per-subscriber pricing and your data on your own machine. This guide gets one
running with Docker, monitoring a real website, in about ten minutes.&lt;/p&gt;
&lt;p&gt;You need a Linux machine with Docker. A small VPS is plenty: yasp uses about 29 MB of
memory on our demo server.&lt;/p&gt;
&lt;h2 id=&quot;1-generate-an-encryption-key&quot;&gt;1. Generate an encryption key&lt;/h2&gt;
&lt;p&gt;yasp encrypts the secrets you give it, like an SMTP password or webhook secrets, before
storing them. Make a key:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-6 z-d-7&quot;&gt;docker&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; run&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;-rm&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; ghcr.io/yasp-dev/yasp&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; keys&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; generate&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Copy the &lt;code&gt;base64:…&lt;/code&gt; value it prints and keep it in your password manager. Database backups
don&#39;t contain the key, and a restored database needs it.&lt;/p&gt;
&lt;h2 id=&quot;2-start-yasp&quot;&gt;2. Start yasp&lt;/h2&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-6 z-d-7&quot;&gt;docker&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; run&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;d&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;-name&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; yasp&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; 8080:8080&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; yasp-data:/data&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; \&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;  -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; YASP_BASE_URL=http://localhost:8080&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; \&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;  -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; &amp;#39;&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt;YASP_ENCRYPTION__KEYS=[{id=&amp;quot;k1&amp;quot;,key=&amp;quot;base64:PASTE_YOUR_KEY&amp;quot;}]&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt;&amp;#39;&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; \&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;  -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;e&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; YASP_EMAIL_LOGIN__ENABLED=&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; \&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt;  ghcr.io/yasp-dev/yasp&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;What that does:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;-v yasp-data:/data&lt;/code&gt; keeps the SQLite database in a Docker volume, so it survives
upgrades.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;YASP_BASE_URL&lt;/code&gt; is the address people use to reach yasp. Use your real address, like
&lt;code&gt;https://status.example.com&lt;/code&gt;, once it&#39;s public.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;YASP_EMAIL_LOGIN__ENABLED&lt;/code&gt; lets invited people sign in with one-time links, so you don&#39;t
need an identity provider to start. You can add OpenID Connect or SAML later.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Open &lt;a rel=&quot;noreferrer external&quot; href=&quot;http://localhost:8080&quot;&gt;http://localhost:8080&lt;/a&gt;. You&#39;ll see an empty status page.&lt;/p&gt;
&lt;h2 id=&quot;3-sign-in&quot;&gt;3. Sign in&lt;/h2&gt;
&lt;p&gt;You have no mail server yet, so create the first admin from the command line. It prints a
sign-in link that works once, within 15 minutes:&lt;/p&gt;
&lt;pre class=&quot;giallo z-l-code z-d-code&quot; &gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span class=&quot;z-l-6 z-d-7&quot;&gt;docker&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; exec&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; yasp&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; yasp&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; admin&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; invite&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;-email&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; you@example.com&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt; -&lt;/span&gt;&lt;span class=&quot;z-l-1 z-d-4&quot;&gt;-role&lt;/span&gt;&lt;span class=&quot;z-l-2 z-d-6&quot;&gt; admin&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Open the link and you&#39;re in the dashboard at &lt;code&gt;/admin&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;4-monitor-something&quot;&gt;4. Monitor something&lt;/h2&gt;
&lt;p&gt;Under &lt;strong&gt;Monitors&lt;/strong&gt;, choose &lt;strong&gt;Add monitor&lt;/strong&gt;, pick &lt;strong&gt;Website or API&lt;/strong&gt;, and enter an address
you care about. Before saving, press &lt;strong&gt;Test now&lt;/strong&gt;: yasp runs the check once and shows what it
saw, the status code, the time taken and the certificate&#39;s expiry. Save it.&lt;/p&gt;
&lt;h2 id=&quot;5-put-it-on-the-page&quot;&gt;5. Put it on the page&lt;/h2&gt;
&lt;p&gt;Monitors are for you; &lt;strong&gt;components&lt;/strong&gt; are what your users see. Under &lt;strong&gt;Components&lt;/strong&gt;, add one
called &quot;Website&quot; and link it to the monitor. If the monitor goes down, the component shows
an outage on the page by itself.&lt;/p&gt;
&lt;p&gt;Open the status page again: your component is there with its uptime bar.&lt;/p&gt;
&lt;h2 id=&quot;6-tell-people-when-something-breaks&quot;&gt;6. Tell people when something breaks&lt;/h2&gt;
&lt;p&gt;Under &lt;strong&gt;Incidents&lt;/strong&gt;, choose &lt;strong&gt;New incident&lt;/strong&gt;, describe what&#39;s happening, pick the affected
component and its status, and publish. It appears at the top of the status page, with a
permanent link and in the RSS and Atom feeds. Post updates as you learn more, then resolve
it.&lt;/p&gt;
&lt;p&gt;To let visitors subscribe by email, set up a mail server under &lt;strong&gt;Notifications → Email
delivery&lt;/strong&gt;; the status page then offers &lt;strong&gt;Get updates&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id=&quot;going-further&quot;&gt;Going further&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Put it on your domain.&lt;/strong&gt; yasp can get and renew its own HTTPS certificates. See
&lt;a href=&quot;https://yasp-dev.github.io/docs/https/&quot;&gt;HTTPS and custom domains&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Check from other places.&lt;/strong&gt; A &lt;a href=&quot;https://yasp-dev.github.io/docs/probes/&quot;&gt;remote probe&lt;/a&gt; checks from another
region, or from inside a private network.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Let it write incidents.&lt;/strong&gt; Set a component to draft or publish an incident when its
monitors detect an outage. See &lt;a href=&quot;https://yasp-dev.github.io/docs/incidents/&quot;&gt;incidents&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Make it production-ready.&lt;/strong&gt; Backups, upgrades and keys are in
&lt;a href=&quot;https://yasp-dev.github.io/docs/operations/&quot;&gt;operations&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Want to look around first? The &lt;a rel=&quot;noreferrer external&quot; href=&quot;https://yasp.akshit.me&quot;&gt;live demo&lt;/a&gt; is a read-only yasp with
sample data.&lt;/p&gt;
</content>
        
    </entry>
</feed>
