Skip to main content

Module usage

Module usage 

Source

Structs§

BundleBuildUsage
Bundle-build usage for the window.
ComputeTotals
A session contributes wholly to the window — or UsageBucket — its run ended in, even when it ran across the boundary.
SessionCounts
Point counts by outcome, not session-deduplicated, so the three need not balance: a pre-start failure has no started, a cross-manager handoff re-emits it. Billing uses the compute totals, which derive only from the terminal points.
SessionUsage
One session that ran under the key, as its terminal event reported it.
SessionUsagePage
Response body of GET /usage/sessions.
UsageBucket
One UTC day of a UsageReport, covering (start, end]. end is the following midnight, except for a last bucket that ends at the report’s until.
UsagePricing
The billing rates a report’s totals are priced at. Served by the manager so the rates live in one place rather than in every client.
UsageReport
Response body of GET /usage.

Constants§

BUCKET_SPAN
What one whole UsageBucket spans.