Report sandboxes starting and stopping
Records 1 to 100 sandbox events. started records the sandbox with the USD price per hour for its size at that moment; send size_class, or vcpus and memory_mib, or decision_id alone to use the size routed by that decision. A start with no size, from either, is priced at the provider’s default size when the price list gives one, and the sandbox is listed with that size, where vcpus can be fractional, and default_size true. decision_id from a routing answer links the sandbox to it; an unknown decision_id is ignored. When that answer moved the sandbox off the team’s first provider and the sandbox started there at the routed size, the first provider’s price and billing rules are kept to measure savings. create_requested_at on a started event is when the create request was sent to the provider; the time from it to at is the sandbox’s start time, and it is ignored when later than at or more than an hour before it. A repeated started event for a sandbox is ignored. stopped records when the sandbox stopped, never before it started, and reason says why: destroyed when the team ended it, timeout when the provider ended it at the end of its lifetime, lost when it disappeared otherwise; a stop that arrives before its start is kept until the start arrives, for up to 2 days, and a second stop is ignored. failed records a create the provider refused or did not finish in time, with no sandbox_id: failure_class is quota, capacity, auth, timeout (not ready within the readiness limit) or other, and detail holds the provider’s error text, up to 2000 characters; failures are kept 90 days. at defaults to now and is moved into the last 24 hours. sandbox_id holds up to 256 characters; metadata holds at most 20 string tags, keys up to 64 and values up to 256 characters; none may contain control characters. An invalid event is skipped and listed in rejected with its index and the problem, and the others are recorded; the request is rejected only when no event is valid. Events are recorded even while the organization’s billing needs attention. Too many requests in a short time answer 429.