Skip to content

gplay vitals errors counts

Query the errorCount metric set — errorReportCount / distinctUsers — as a timeline, the count side of vitals errors.

gplay vitals errors counts --package com.example.app gplay vitals errors counts --by versionCode --version 123 --since 7d

--by slices the timeline (country|device|versionCode); --version filters to one versionCode. Read-only; --output json mirrors the API response verbatim.

gplay vitals errors counts [flags]
FlagDescription
--by stringslice the timeline by a dimension (country|device|versionCode; availability depends on the metric set)
--output stringoutput format: table, json, or markdown (default: auto — table on TTY, json in pipes/CI)
--package stringAndroid package name (overrides .gplay/config.json pin)
--period stringaggregation period: DAILY, HOURLY, or FULL_RANGE (default "DAILY")
--since stringwindow length back from now, e.g. 28d or 24h (default "28d")
--version stringfilter to a single versionCode
FlagDescription
--account stringname of a stored Account to use (overrides env and active Account)
--retry intretry transient failures (transport errors, 5xx, 429) up to N times with exponential backoff (default: 0, no retry)
--service-account stringpath to a service-account JSON, or inline JSON content (overrides --account, env, and active Account)
--timeout durationper-request API timeout, e.g. 30s or 2m (default: 60s for control-plane calls, none for uploads)
-v, --verboselog flow steps to stderr (info level)