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 Service

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

Package: stitchd.events.v1

Message: EventDefinition

A pre-registered event definition — only registered events are accepted.

FieldTypeDescription
keystring
descriptionstring
value_typeMetricValueTypeExpected value type for this metric.
environment_idstring

Enum: MetricValueType

ValueDescription
METRIC_VALUE_TYPE_UNSPECIFIED
METRIC_VALUE_TYPE_BOOL
METRIC_VALUE_TYPE_INT
METRIC_VALUE_TYPE_DOUBLE

Service: EventIngestionService

EventIngestionService provides the ingestion endpoint for the Event Service crate. The existing EventService (in event.proto) is the legacy SDK-facing service. This service is used for inter-service communication.

IngestEvent

Ingest a batch of metric events. Unknown keys (not pre-registered) are rejected and reported in rejected_keys. SDK key is supplied via gRPC metadata header x-sdk-key.

  • Request: IngestRequest
  • Response: IngestResponse