Skip to main content

StartTableProfileRequest

Authorizes an asynchronous profile with explicit time, data and cost limits.

prokrust.profile.v1.StartTableProfileRequest

Fields​

JSON fieldTypeMeaning
workspacestringName of the workspace namespace in which the caller starts or reads the profile.
idempotencyKeystringUse v1:<Unix seconds>:<lowercase UUIDv4> dated at creation. Retry with the same key and request body. A new key permits a separate run.
definitionProfileDefinitionConnection, versioned selector and Table conversion recipe to inspect.
modeProfileModeChoose metadata, sample or full scan according to how much source data the caller authorizes.
metricslist of MetricRequestStatistics to compute in sample or full-scan mode. Metadata mode requires an empty list.
budgetBudgetAbsolute deadline within ten minutes, positive source-byte limit and explicit staged-byte limit. Sample and full scan require positive staged bytes.
sampleSampleSpec (explicit presence)Row and partition limits for sample mode.
bucketsTimeBuckets (explicit presence)UTC boundaries and width required when requesting a time-bucket metric.
allowFullScanboolSet true to authorize full-scan mode. Sample and metadata requests must leave this false.
previewRowsuint32Number of converted sample rows to return for inspection, at most 100 and no more than the sample row limit.