Skip to content

Add usage metric write seam - #5

Draft
bytemaster-0xff wants to merge 5 commits into
masterfrom
feature/runtime-data-api
Draft

bytemaster-0xff wants to merge 5 commits into
masterfrom
feature/runtime-data-api

Conversation

@bytemaster-0xff

@bytemaster-0xff bytemaster-0xff commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Adds the existing cloud usage repository write capability to IUsageMetricsRepo for the signed runtime-data API.

  • Adds IUsageMetricsRepo.AddMetricAsync
  • Adds batch-first IUsageMetricsRepo.AddMetricsAsync
  • Keeps the single-record method as a convenience seam
  • Implements writes through the existing TableStorageBase<UsageMetrics> repo
  • Keeps runtime-data transport concerns out of Deployment storage code

The RuntimeData API will send bounded batches to reduce signed HTTP request overhead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant