Repository navigation
OpsCrew 0.2.1
Nothing to redo: your plans keep working as they are. The first deploy after your next npx opscrew provision updates the shared edge on the server once, as its version is raised.
Added
-
Self-hosted monitoring: Prometheus, Loki and Grafana on a server of your own.
opscrew addon enable monitoringwrites it into your plan, with the server's type and monthly price, the agent's memory on each of your servers, the retention and the disk it takes.opscrew provisionthen sets it up, each change approved by its hash.- By default the stack runs on a small server of its own at your app's provider and location.
--on appputs it on the app's server (from 4 GB). Another app or environment in the repository sends to the same server;--new-servergives it one of its own. - Grafana Alloy on every server sends the server's and the containers' figures, Caddy's and Postgres's figures, and your app's log lines, with secrets masked before they leave the server.
- Six ready-made dashboards: servers, containers, HTTP traffic, Caddy, Postgres and logs.
- Nothing is reachable from the internet.
opscrew addon open monitoringgives Grafana's private address when this computer is a device on the private network, or opens an SSH tunnel. - Figures are kept 15 days and logs 7 by default;
--metrics-daysand--logs-dayschange it.opscrew addon statusandopscrew statusshow each server's last data. opscrew addon disable monitoringremoves everything it installed; the monitoring server is deleted only after you type its name.
Grafana and Loki are licensed AGPL-3.0 and run unmodified as containers. See Self-hosted monitoring.
-
The Claude Code plugin shows monitoring's status and turns it on or off; its troubleshooting skill says how to open the dashboards and what each shows.
Changed
- Caddy keeps figures per hostname in every OpsCrew edge, on the edge's internal network only, never published. Nothing reads them unless monitoring is on; every app on a server now shares the same edge again.
- Grafana Alloy 1.21.3. A plan that names 1.21.2 for Grafana Cloud keeps running it, by its tag;
opscrew addon enable grafana-cloudmoves it to the pinned version.
Fixed
- A new secret now reaches the server: a rotated Grafana Cloud or Beszel token through
opscrew addon enable, and a device's new database password fromopscrew vpn grantafter this computer lost the old one. Before, the server's check saw its files unchanged and skipped writing the new value. - A changed Alloy or Beszel configuration restarts its container. Before, the new file was written but the running container kept the old one.
opscrew provisionno longer refuses a plan whose extra server keeps no backups while the app's server does: each server is checked against its own setting.
Full changelog: v0.2.0...v0.2.1