PgBeam Docs
analytics

analytics metrics

Show project metrics

Display real-time performance metrics for the linked project, including query counts, cache hits, active connections, and latency percentiles. Results are broken down by region. Use --limit to control how many snapshots to return and --region to filter by a specific region.

Usage

pgbeam analytics metrics [flags]

Options

OptionDescriptionRequiredDefault
--limit <value>Maximum number of metric snapshots to returnNo10
--region <value>Filter results to a specific region (e.g. us-east-1)No-

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Show the latest 10 metric snapshots
pgbeam analytics metrics

# Show the latest 20 snapshots
pgbeam analytics metrics --limit 20

# Filter by region
pgbeam analytics metrics --region us-east-1

# Get metrics as JSON
pgbeam analytics metrics --json

Output

Displays a table with columns: Region, Queries, Cache Hits, Connections, Avg (ms), and P99 (ms). With --json, returns the full metrics snapshot array.

On this page