at.happyproto.fleet.getGrowth

happyproto.at

{
  "$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
}

Validate Record

Validate a record against at.happyproto.fleet.getGrowth

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mo7vq4jbioxwafy5zkcc3eux
CID
bafyreieubcvpvllb6kfggmdkeqb5wo3yclbxner3n6uowlsann6oxtblyi
Indexed At
2026-10-19 18:20 UTC
AT-URI
at://did:plc:mo7vq4jbioxwafy5zkcc3eux/com.atproto.lexicon.schema/at.happyproto.fleet.getGrowth

Similar Lexicons

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

  • 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.

  • Counter resets — the negative deltas instance_daily_deltas discards. A reset is a restored backup, a wiped volume, a re-provision or a wrong clock. Admin only.

  • One tenant's metered usage by hour or day, with the hours that have no report. Proxied from the provisioner. Admin only.

  • HappyView version distribution and upgrade lag. Admin only.

  • Report lag, clock skew and schema-version spread. Lag and skew are separate facts and must not be averaged together. Admin only.

Lexicon Garden

@