Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Stats Service

Auto-generated from /home/runner/work/feature-flag/feature-flag/proto/stats/v1/stats_service.proto

Package: stitchd.stats.v1

Message: TriggerRecomputeRequest

FieldTypeDescription
experiment_idstringUUID of the experiment to recompute stats for.

Message: TriggerRecomputeResponse

FieldTypeDescription
job_idstringUUID of the created stats job.
statusstringInitial status — always “pending”.
created_at_msint64Milliseconds since Unix epoch when the job was created.

Message: GetJobStatusRequest

FieldTypeDescription
job_idstringUUID of the stats job to query.

Message: GetJobStatusResponse

FieldTypeDescription
job_idstring
statusstring
started_at_msint64Zero when the job has not yet started.
completed_at_msint64Zero when the job has not yet completed.
errorstringEmpty unless the job status is “failed”.

Service: StatsService

TriggerRecompute

Trigger an out-of-band stats recompute for an experiment. Returns immediately with a job_id; poll GetJobStatus to track progress.

  • Request: TriggerRecomputeRequest
  • Response: TriggerRecomputeResponse

GetJobStatus

Query the status of a previously triggered recompute job.

  • Request: GetJobStatusRequest
  • Response: GetJobStatusResponse