at.happyproto.fleet.getBenchmarks

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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.",
      "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"
        },
        {
          "description": "instance is required.",
          "name": "InvalidRequest"
        },
        {
          "description": "No snapshots for that instance.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cohort": {
              "type": "string"
            },
            "cohortSize": {
              "type": "integer"
            },
            "computedAt": {
              "description": "The rollup refreshes daily, so this can be 24 hours old.",
              "format": "datetime",
              "type": "string"
            },
            "have": {
              "description": "History available, when accruing.",
              "type": "integer"
            },
            "metrics": {
              "items": {
                "ref": "#metric",
                "type": "ref"
              },
              "type": "array"
            },
            "minimum": {
              "description": "Smallest cohort a benchmark is published for.",
              "type": "integer"
            },
            "need": {
              "description": "History required, when accruing.",
              "type": "integer"
            },
            "reason": {
              "knownValues": [
                "cohort"
              ],
              "type": "string"
            },
            "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"
            }
          },
          "required": [
            "status",
            "metrics"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "instance": {
            "description": "Instance id to position within its cohort.",
            "type": "string"
          }
        },
        "required": [
          "instance"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "metric": {
      "properties": {
        "metric": {
          "type": "string"
        },
        "p50": {
          "type": "integer"
        },
        "percentile": {
          "type": "integer"
        },
        "value": {
          "type": "integer"
        }
      },
      "required": [
        "metric",
        "value",
        "p50",
        "percentile"
      ],
      "type": "object"
    }
  },
  "id": "at.happyproto.fleet.getBenchmarks",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.fleet.getBenchmarks

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

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

  • Survival by first-seen cohort. Manual-mode instances are excluded: they have no reporting cadence to miss, so their silence is not churn. Admin only.

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

  • The reporting fleet, one row per instance, from its most recent snapshot. Admin only.

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

Lexicon Garden

@