Event
Auto-generated from
/home/runner/work/feature-flag/feature-flag/proto/events/v1/event.proto
Package: stitchd.events.v1
Message: MetricValue
| Field | Type | Description |
|---|---|---|
bool_value | bool | |
int_value | int64 | |
double_value | double |
Message: Event
A single metric event emitted by the client SDK. Only pre-registered event keys with known types are accepted.
| Field | Type | Description |
|---|---|---|
metric_key | string | The registered event key. |
context_type | string | Minimal context: type + key only (no parameters — not needed for events). |
context_key | string | |
value | MetricValue | The metric value — must match the registered type for this metric_key. |
timestamp_ms | int64 | Client-side timestamp in epoch milliseconds. |
Message: IngestRequest
| Field | Type | Description |
|---|---|---|
events | repeated Event |
Message: IngestResponse
| Field | Type | Description |
|---|---|---|
accepted_count | uint32 | Number of events accepted (unknown keys are rejected and not counted). |
rejected_keys | repeated string | Keys that were rejected (not pre-registered or type mismatch). |
Service: EventService
Ingest
Ingests a batch of metric events.
SDK key is supplied via gRPC metadata header x-sdk-key.
- Request:
IngestRequest - Response:
IngestResponse