Repository navigation
Releases
v1.0.0
Vitals 1.0
Vitals is stable. It runs in production on aw.codes and is fully integrated in Relay, and there are no code changes from 0.1.2. From here, the public surface follows semantic versioning: config keys, plugin options, policy abilities, table columns and command names.
Vitals adds website uptime, certificate and incident monitoring to Filament 4 and 5 panels, on top of spatie/laravel-uptime-monitor. It requires PHP 8.3+ and Laravel 12 or 13.
1.xis the default branch.- Upgrading from 0.x: change your constraint to
^1.0. If you installed 0.1.0 or 0.1.1, emptydown()in your published Vitals migrations as described in Upgrading, if you haven't already.
What's Changed
Full Changelog: v0.1.2...v1.0.0
v0.1.2
Rollbacks never drop data
Every Vitals migration skips tables and columns your application already has, but until now its down() dropped them anyway. Rolling back the batch after adopting Vitals over existing tables could delete all monitoring history, and monitor names where name existed before Vitals.
down()drops nothing in all four migrations. A rollback can't tell what Vitals created from what your application already had, so it leaves everything, with its data. Uninstalling is a manual step; see Installation.- Upgrading from 0.1.0 or 0.1.1: published migrations belong to your application and aren't updated by Composer. Make
down()empty in each of the four Vitals migrations indatabase/migrations. Nothing else changes.
What's Changed
Full Changelog: v0.1.1...v0.1.2
v0.1.1
Improvements from a second application
Adopting Vitals in an application that didn't write it turned up two gaps. Both widen existing signatures, so nothing changes for current callers.
- No navigation icon when your panel has none.
VitalsPlugin::navigationIcon()now accepts an icon enum such asHeroicon::OutlinedSignal, ornullto show no icon. Vitals::schedule()fromroutes/console.php. TheScheduleargument is optional, so a plainVitals::schedule();registers the four entries on the application's schedule.bootstrap/app.phpcan still pass the onewithSchedule()provides.- Docs. Both scheduling forms, where the stylesheet is published (
public/css/awcodes/vitals), and a note in Upgrading that the recommended notification setting replaces hourly outage reminders with one notification per outage and one on recovery.
What's Changed
Full Changelog: v0.1.0...v0.1.1
v0.1.0
Initial release
Vitals adds website uptime, certificate and incident monitoring to Filament 4 and 5 panels, on top of spatie/laravel-uptime-monitor. It requires PHP 8.3+ and Laravel 12 or 13.
Warning
Vitals is a work in progress. Do not use it in production yet.
- A monitoring page for your panel. A summary strip, a needs-attention list, and a table with 30-day uptime, a daily history strip, response times and certificate status. Each site opens an inspection slide-over with its performance chart, recent checks, certificate details and incidents.
- History Spatie doesn't keep. Every uptime check is recorded with its HTTP status and response time. Confirmed outages open incidents that the first passing check closes, and completed days are summarised before old checks are pruned.
- Pausing for planned downtime. A paused monitor runs no checks and sends no notifications, with an optional reason and automatic resume time.
- Safe by default. Monitor URLs and redirects that point at private network addresses are refused.
vitals.allow_private_addressesturns this off for apps that monitor internal services. - Your policy, your schedule. Every action is authorized through
MonitorPolicy, which you can replace, and nothing is scheduled until you callVitals::schedule(). - Built for existing apps.
vitals:installleaves existing uptime-monitor files and tables alone, every migration skips what already exists,MonitorandTimedUptimeCheckRequestcan be extended, andvitals:doctorchecks the setup.
What's Changed
- Phase 2: port the monitoring domain by @awcodes in #1
- Phase 3: port the Filament page and alerts widget by @awcodes in #2
- Phase 4: install, doctor and schedule by @awcodes in #3
- Show more of the page in the share cards by @awcodes in #4
- Open the Spatie extension points and add a private-address switch by @awcodes in #5
- Bring the README in line with the fleet's Filament plugins by @awcodes in #6
- Prepare v0.1.0 by @awcodes in #7
New Contributors
Full Changelog: https://github.com/awcodes/vitals/commits/v0.1.0