Skip to content

Add batch usage metrics contract - #2

Draft
bytemaster-0xff wants to merge 1 commit into
masterfrom
feature/runtime-data-api
Draft

Add batch usage metrics contract#2
bytemaster-0xff wants to merge 1 commit into
masterfrom
feature/runtime-data-api

Conversation

@bytemaster-0xff

Copy link
Copy Markdown
Contributor

Adds AddMetricsAsync(IEnumerable<UsageMetrics>) to IUsageMetricsRepoRemote so remote runtimes can submit the natural one-minute usage cohort as a single operation instead of one storage write per metric.

This is the contract seam for the RuntimeData signed-HTTP migration. Provider-specific transport/storage remains outside Runtime.Core.

@sonarqubecloud

Copy link
Copy Markdown

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