at.happyproto.server.getUsage
One of the caller's instances' metered usage by hour or day, with the hours that have no report. Customers only.
Details · query
| Kind | query |
|---|---|
| Authority | server.happyproto.at |
| Indexed |
Query
query · GETParameters
query stringfrom
string · datetimeStart of the range. Defaults to one day before `to` at hour grain, 30 days at day grain.
grain
stringDefaults to hour. Hour ranges may span 31 days, day ranges 400.
knownValues: hour | dayenum: hour | day
The instance's UUID.
to
string · datetimeEnd of the range. Defaults to now.
Output
application/jsonErrors
AuthRequired
This endpoint requires an authenticated caller.
Forbidden
The caller is not a HappyProto customer, or the provisioner refused them.
InvalidRequest
id is not a UUID, or the range is backwards, too long, or has an unknown grain.
NotFound
No such instance, or it is not the caller's. The two are indistinguishable.
InvalidSlug
Passed through from the provisioner.
SlugTaken
Passed through from the provisioner.
NotEntitled
Passed through from the provisioner.
InstanceLimit
Passed through from the provisioner.
NoCapacity
Passed through from the provisioner.
OperationInProgress
Passed through from the provisioner.
Upstream
The provisioner could not complete the request.
#gap
object#row
objectOne hour or day of usage, summed across the tenant's hosts. `hour` is set at hour grain and `day` at day grain.
Properties
apiClients
integerday
stringUTC date, YYYY-MM-DD.
diskAvgBytes
integerdiskPeakBytes
integerhour
string · datetimeSome samples for this period were missing.
seats
integerSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
One tenant's metered usage by hour or day, with the hours that have no report. Proxied from the provisioner. Admin only.
-
Store capacity: the latest totals, a daily trend, per-collection counts and what each tenant holds. Proxied from the provisioner. Admin only.
-
How any tenant handled incoming records in a window, by collection and action. The same shape as server.getIngestMetrics. Admin only.
-
Fleet and per-instance growth rates from instance_daily_deltas. Counter resets are excluded by the view, so a wiped volume lowers no rate. Admin only.
-
How one of the caller's own instances handled incoming records in a window, by collection and action. Customers only.