Stats Service
Auto-generated from
/home/runner/work/feature-flag/feature-flag/proto/stats/v1/stats_service.proto
Package: stitchd.stats.v1
Message: TriggerRecomputeRequest
| Field | Type | Description |
|---|---|---|
experiment_id | string | UUID of the experiment to recompute stats for. |
Message: TriggerRecomputeResponse
| Field | Type | Description |
|---|---|---|
job_id | string | UUID of the created stats job. |
status | string | Initial status — always “pending”. |
created_at_ms | int64 | Milliseconds since Unix epoch when the job was created. |
Message: GetJobStatusRequest
| Field | Type | Description |
|---|---|---|
job_id | string | UUID of the stats job to query. |
Message: GetJobStatusResponse
| Field | Type | Description |
|---|---|---|
job_id | string | |
status | string | |
started_at_ms | int64 | Zero when the job has not yet started. |
completed_at_ms | int64 | Zero when the job has not yet completed. |
error | string | Empty 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