cli: insta metrics + insta logs (observability)
Merged
JW
4mo ago+47+47+01234567890123456789-2-2-0123456789
insta metrics <db|compute> [group] and insta logs <db|compute> [group] proxy the platform's
/metrics and /logs endpoints. Compute shows real series/lines; db surfaces the provider-limitation note.
Verified end-to-end against the platform dev:fake server (metrics compute โ cpu/mem/req series; logs compute โ lines; db โ note).
๐ค Generated with Claude Code
Summary by cubic
Adds observability to the CLI with insta metrics and insta logs, proxying the platform /metrics and /logs. Compute returns live series and log lines; DB shows a provider-limitation note.
- New Features
insta metrics <db|compute> [group]: fetches series with optional--branch --from --to --step; prints latest values or--json.insta logs <db|compute> [group]: fetches lines with optional--branch --limit --region --instance; prints lines or--json.- Defaults branch to the linked project, shows notes for DB limits, and updates CLI wiring and README.