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

Event

Auto-generated from /home/runner/work/feature-flag/feature-flag/proto/events/v1/event.proto

Package: stitchd.events.v1

Message: MetricValue

FieldTypeDescription
bool_valuebool
int_valueint64
double_valuedouble

Message: Event

A single metric event emitted by the client SDK. Only pre-registered event keys with known types are accepted.

FieldTypeDescription
metric_keystringThe registered event key.
context_typestringMinimal context: type + key only (no parameters — not needed for events).
context_keystring
valueMetricValueThe metric value — must match the registered type for this metric_key.
timestamp_msint64Client-side timestamp in epoch milliseconds.

Message: IngestRequest

FieldTypeDescription
eventsrepeated Event

Message: IngestResponse

FieldTypeDescription
accepted_countuint32Number of events accepted (unknown keys are rejected and not counted).
rejected_keysrepeated stringKeys 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