v2.4.2

canbus

CAN bus and operational telemetry ingestion into Amazon Timestream.

FieldValue
Serverless servicedrive-api-canbus
Runtimenodejs22.x, arm64
Regionap-southeast-2
Deployed HTTP operations2
Local worker harnesses0
OpenAPI/openapi/canbus.yaml · interactive

Deployed routes

MethodPathAuthSummary
POST/canbus/event/queuePublicQueue telemetry records for async Timestream write
POST/canbus/event/writeAPI keyWrite telemetry records directly to Timestream

Behaviour notes

  • queueTimestreamEvent validates Timestream-native records and queues them in SQS batches of 10.
  • writeTimestreamEvent is both HTTP-mounted and SQS-triggered; on the SQS path it rethrows so the batch retries.
  • Record types map to Timestream tables and required dimensions in services/canbus/types/RecordTypes.ts.
  • The queue route can return 200 even when individual SQS entries failed; check the per-record succeeded and failed lists.

Source map

  • services/canbus/serverless.yml
  • services/canbus/functions/queueTimestreamEvent.ts
  • services/canbus/functions/writeTimestreamEvent.ts
  • services/canbus/types/RecordTypes.ts
  • services/canbus/types/WriteTimestreamEventRequest.ts
Esc