Query, tablet, and tag metrics from the CLI
pscale metrics now has dedicated commands for query-pattern series, table storage, tablet series, and tag sets.
On Postgres and Vitess:
pscale metrics queries <database> <branch> --metric latency_p99 --fingerprint <fingerprint> --keyspace <keyspace> --period 1h pscale metrics tables <database> <branch> pscale metrics tags <database> <branch> --metric queries --tag-set Busername=alice --period 1h
On Vitess, for per-tablet series and table storage grouped by keyspace:
pscale metrics tablets <database> <branch> --metric replication_lag --period 1h pscale metrics keyspace-tables <database> <branch>