You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 11, 2026. It is now read-only.
SaaS quotas and usage-based billing require a trustworthy metering foundation. Directly incrementing counters inside feature transactions would create coupling, contention, duplicate-count risks, and weak auditability. Usage must be tenant-aware, versioned, idempotent, privacy-minimized, and reconcilable.
Objective
Implement a provider-neutral usage_metering capability for accepting reviewed meter events, deduplicating them, aggregating usage windows, enforcing quota decisions, applying corrections, and reconciling source versus aggregate results.
Parent epic: #868
Depends on: #869, #871, #874
Context
SaaS quotas and usage-based billing require a trustworthy metering foundation. Directly incrementing counters inside feature transactions would create coupling, contention, duplicate-count risks, and weak auditability. Usage must be tenant-aware, versioned, idempotent, privacy-minimized, and reconcilable.
Objective
Implement a provider-neutral
usage_meteringcapability for accepting reviewed meter events, deduplicating them, aggregating usage windows, enforcing quota decisions, applying corrections, and reconciling source versus aggregate results.Scope
Out of scope
Security and integrity requirements
Acceptance criteria
Testing
Documentation
Dependencies
Provides usage data to #876 subscription billing and #880 reporting/operations.