Skip to main content

ProfileResult

Records what was inspected, which conversion rules were used and how far the profile read.

prokrust.profile.v1.ProfileResult

Fields​

JSON fieldTypeMeaning
formatVersionuint32Version of the retained result format. The current Web API reads version 1.
profileUidstringUID of the profile that produced this result.
connectionConnectionIdentityExact connection and configuration used for the operation.
definitionDigeststringDigest of the frozen connection, selector and recipe. Compare results using the same definition.
conversionSemanticsDigeststringDigest of the conversion semantics used for the recipe.
modeProfileModeRequested inspection mode.
referenceTimeRFC 3339 timestampFrozen reference instant used when classifying future event times.
startedAtRFC 3339 timestampTime when this profile execution started.
finishedAtRFC 3339 timestampTime when this profile execution completed.
planArtifactRef (explicit presence)Reference to the immutable scan plan used for row reads, if present.
sourceViewSourceView (explicit presence)Pinned source state for the row scan, if available.
inspectedRowsuint64 (explicit presence)Number of rows inspected, when known. A sample can cover only part of the source.
inspectedObjectsuint64 (explicit presence)Number of source objects inspected, when known.
completedPartitionsuint64 (explicit presence)Number of plan partitions processed, when known.
plannedPartitionsuint64 (explicit presence)Total partitions in the adopted plan, when known. Compare with completed partitions.
completeSourceCoverageboolTrue when the operation covered the whole selected source. Inspect this before interpreting metrics as source-wide.
sampleSampleSpec (explicit presence)Effective sample limits for a sampled result.
metricslist of MetricResultStatistics produced by this operation and their measurement basis.
bucketsTimeBuckets (explicit presence)Time-bucket definition used to interpret the count array.
diagnosticslist of DiagnosticProblems or limitations observed while profiling.
accountingUsageAccountingObserved usage, charges and reservations as of this result.
samplingMethodstringSampling procedure used to select rows, when the profile took a sample.
materializationValidatedboolWhether the result also validated Table materialization. A profiling run alone does not establish this.
previewArtifactRef (explicit presence)Reference to the retained sample preview, when requested and available.
metadataInspectSourceResponse (explicit presence)Inspection response retained for metadata mode. It preserves provider estimates, basis and collection times.