pscale-metrics
Installation
SKILL.md
pscale metrics
Use PlanetScale's branch metrics service for read-only time-series, current-value, and curated performance reporting. Prefer --format json for structured automation or --format csv when every historical sample is needed for external analysis.
Prerequisites
- Authenticate with
pscale auth check --format json. - Identify the exact organization, database, and branch.
- Pass
--orgexplicitly rather than relying on the configured default organization. - Confirm the time window before comparing or reporting values.
Start with a curated report
# Engine-aware report for the last day
pscale metrics report <database> <branch> \
--org <org> \
--period 1d \
--format json