at.happyproto.fleet.getGrowth
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.
Details · query
| Kind | query |
|---|---|
| Authority | fleet.happyproto.at |
| Indexed |
Checks
Validunlimited-stringdefs.fleetRate.properties.metricNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instanceRate.properties.instanceIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.instanceRate.properties.metricNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.unitNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"fleetRate": {
"properties": {
"metric": {
"type": "string"
},
"perDay": {
"description": "Fleet-wide daily growth over the window.",
"type": "integer"
}
},
"required": [
"metric",
"perDay"
],
"type": "object"
},
"instanceRate": {
"properties": {
"instanceId": {
"type": "string"
},
"metric": {
"type": "string"
},
"rate": {
"description": "Mean daily delta over the window.",
"type": "integer"
}
},
"required": [
"instanceId",
"metric",
"rate"
],
"type": "object"
},
"main": {
"description": "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.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is not a HappyProto admin.",
"name": "Forbidden"
},
{
"description": "The telemetry store could not be queried.",
"name": "Upstream"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"byInstance": {
"items": {
"ref": "#instanceRate",
"type": "ref"
},
"type": "array"
},
"fleet": {
"items": {
"ref": "#fleetRate",
"type": "ref"
},
"type": "array"
},
"have": {
"description": "History available, when accruing.",
"type": "integer"
},
"need": {
"description": "History required, when accruing.",
"type": "integer"
},
"status": {
"description": "Why a figure is absent. Branch on this, never on field presence.",
"knownValues": [
"ok",
"accruing",
"withheld"
],
"type": "string"
},
"unit": {
"knownValues": [
"days",
"snapshots"
],
"type": "string"
},
"windowDays": {
"type": "integer"
}
},
"required": [
"status",
"fleet",
"byInstance"
],
"type": "object"
}
},
"type": "query"
}
},
"id": "at.happyproto.fleet.getGrowth",
"lexicon": 1
}