Alerts and uptime checks from ubctl
Create metric alerts and HTTPS uptime checks, and read a service's logs and metrics, from the command line.
ubctl can now keep an eye on your services.
- Metric alerts watch CPU, memory, restarts or ready replicas against a threshold over a time window.
- Uptime checks call an HTTPS URL on your service or custom domain every minute.
You’re notified when a check starts failing and again when it recovers.
ubctl monitoring uptime-create --name public-api --url https://api.example.com/health
ubctl apps services logs svc_123 --since 30m
ubctl apps services metrics svc_123 --since 6h
Read more in Monitoring commands.