at.happyproto.fleet.getCostShape

Disk and memory distribution, and bytes per record. Memory is reported as separate anonymous and file-backed figures and is never totalled. Admin only.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · query
Kindquery
Authorityfleet.happyproto.at
Indexed

Query

query · GET

Output

application/json
Reference
Reference

have

integer

instances

integer

Anonymous memory. Never summed with memoryFile.

Reference

File-backed memory, dominated by page cache. Its own figure: adding it to memoryAnon is how a healthy instance is diagnosed as leaking.

Reference

need

integer
Reference

status

requiredstring

Why a figure is absent. Branch on this, never on field presence.

  • knownValues: ok | accruing | withheld

unit

string
  • knownValues: days | snapshots

windowDays

integer

Errors

AuthRequired

This endpoint requires an authenticated caller.

Forbidden

The caller is not a HappyProto admin.

Upstream

The telemetry store could not be queried.

#pair

object

Properties

instances

requiredinteger

Instances contributing to this figure.

p50

requiredinteger

p90

requiredinteger

#sources

object

Which map each figure came from. These metrics live in `host` on the current fleet (db_bytes, memory_anon_bytes) but the collector's benchmark rollup reads `totals` (database_bytes, rss_anon). Reporting the source makes a disagreement visible rather than silently resolved; "none" means the key is absent from both, so a 0 is not a measurement.

Properties

diskBytes

string
  • knownValues: host | totals | none
  • knownValues: host | totals | none
  • knownValues: host | totals | none

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Every host, and every tenant with its host, plan, owner and latest metered hour, for the staff fleet view. Staff only.

  • Store capacity: the latest totals, a daily trend, per-collection counts and what each tenant holds. Proxied from the provisioner. Admin only.

  • Where one instance sits in its size cohort. Withheld below a cohort of 10: a percentile over fewer is not an aggregate, it is individual data with a statistic drawn over it. 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.

  • Categorical host facts across the fleet, with consent coverage. Keys whose values vary per instance, or that carry embedded documents, are named but not enumerated. Admin only.