What it is
Vista is a private dashboard I built to keep an eye on my server and everything running on it.
It brings together system health, resource usage, deployments, and application logs in one place. Instead of checking several different tools to figure out what’s happening, I can open Vista and get a clearer picture of how everything is doing.
Why I made it
As I’ve built more projects, I’ve also built tools to manage the infrastructure behind them.
Lighthouse handles deployments. Sonar monitors the server and checks whether my services are healthy. Blackbox collects logs so I can investigate problems after they happen.
They each do their jobs, but I was still missing something.
If a project went down, I could check Sonar to see when it happened, look through Lighthouse to find out whether a deployment was involved, and search Blackbox for errors.
All the information was there. I just had to go looking for it.
I wanted a way to bring those pieces together, where I could see what needed attention and follow a problem from its first warning to the logs or deployment that might explain it.
That’s where Vista came in.
How it works
Vista connects to the other services I’ve built and brings their information into a single interface.
Sonar provides server resources, service health, response times, and uptime history. Blackbox provides searchable application logs, and Lighthouse provides deployment information, including releases and individual deployment steps.
The overview puts the things that need attention first. If a service is down, a deployment failed, or a logging source stopped responding, I want to see that before anything else.
From there, I can dig into individual projects, compare their availability over time, check which versions are running, and search through logs without having to connect to the server manually.
One thing I wanted to get right was how Vista handles missing information. If a monitoring service stops responding, that doesn’t mean everything is healthy. Vista distinguishes between a healthy service and one it simply can’t get information about, and shows where its data came from.
I also wanted to keep the responsibilities of each tool separate.
Vista doesn’t collect its own monitoring data or manage deployments. It reads information from the services that already handle those jobs. It can’t restart containers, deploy updates, or change server settings.
It’s there to help me understand what’s happening, not to control everything.
Underneath, Vista is built in Go, with a lightweight HTML, CSS, and JavaScript interface. It runs alongside my other services in Docker, and access to the dashboard is protected through Cloudflare Access.
Where it’s at
Vista’s core dashboard is built, with integrations for Sonar, Blackbox, and Lighthouse.
It can show server and project health, resource usage, deployment history, uptime, and searchable logs. The main pieces I originally wanted to bring together are now in place.
I’m still improving how all that information is presented and how easily I can move from noticing a problem to understanding what caused it.
The bigger goal is to make running my own infrastructure easier as I continue adding projects.
I’ve spent a lot of time building the tools that keep everything running. Vista is where I finally get to see them working together.
Changelog
0.1.1latest1 new · 1 fix
added
- When a project was degraded by slow outside checks, Activity and Incidents say how long the slowest answer took and which part took longest: looking up the address, connecting, the TLS handshake, waiting for the site or reading the answer.
fixed
- The shaded band on the Spark page’s host chart runs from the lowest to the highest one-minute average in each bucket, so a few seconds of a build no longer show as a nearly full CPU. Without those averages from Sonar, no band is drawn.
0.1.08 new · 3 changes
added
- The Overview has tiles for Spark’s health and uptime, containers running, CPU, memory, disk and network with their trends; a CPU, memory and disk chart with deploys marked; the five containers using the most CPU, memory or network; server information, disk usage and network traffic; every container with its state, use against its limits, restarts and uptime; the load average and each core’s use; and error counts per project with repeated errors grouped.
- Spark’s state is Sonar’s own, from its conditions, and each condition, such as a filling disk, is listed under what needs attention.
- The Spark page shows swap, load, disk and network over time, which of Sonar’s measurements work, sparkdb’s connections and database sizes, disk use per project, and traffic per site from Cloudflare.
- Each project shows since when it has been in its state, its outside checks, its containers, its CPU and memory over time, its data folder and databases, its traffic, its error counts, and the counters and checks the app itself reports.
- Activity lists each time a project was down or degraded, with the services and checks that weren’t up, and charts error and warning lines per hour.
- Incidents lists every stretch a project was down or degraded in the last 30 days, with when it began and ended.
- The Projects table shows each project’s error lines in the chosen range.
- A search box at the top of every page searches the logs.
changed
- Host measurements come from Sonar’s detailed host answer instead of its public history.
- A project is shown as infrastructure when Sonar’s group label says so; the built-in list covers projects without the label.
- The pages use line icons, and the Sources page no longer lists measurements as not served.
0.0.010 new
added
- The Overview shows what needs attention, project states, host CPU and memory with deploy markers, recent deploys, the newest error lines and log storage.
- The Projects page lists every project with its state, version, monitoring method, response time, uptime with coverage and 30-day history, and opens each project’s details, recent errors and links to its logs and activity.
- The Spark page shows the server apart from the projects: its measurements, the infrastructure projects’ states, log collection, and which measurements aren’t collected yet.
- The Activity page puts deploys and log gaps on one timeline, filtered by project and kind, and opens each deploy’s steps and the output of the step that failed.
- Deploys come from Lighthouse’s records when Lighthouse is connected, and from the container swaps Sonar saw when it isn’t. Each project shows its deploy state, version and releases, and a project whose deploys keep failing needs attention.
- The Logs page searches Blackbox by text, project, level, version and time, shows a line’s fields and the lines around it, and links to any line.
- The Incidents page lists availability and the days each project was down or degraded.
- The Sources page shows where each piece of information comes from and how fresh it is.
- Vista shows only what its sources report, asking them only while a page is open. A source that stops answering keeps its last answer on screen marked stale, and live states become unknown instead of healthy.
- Every request except the health check needs a valid Cloudflare Access token; in production Vista won’t start without the Access settings.
More to look at
all projects-
I push code to GitHub, and my server takes it from there.
-
My own little vault for the passwords, keys, and secrets my projects need.
-
One consistent way for my Go projects to communicate with Cove.