at.happyproto.fleet.getSignals

happyproto.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "instanceCounts": {
      "properties": {
        "active": {
          "description": "Reported within 48 hours.",
          "type": "integer"
        },
        "dormant": {
          "description": "Silent over 90 days. EXCLUDES manual-mode instances: a manual instance quiet for 90 days is quiet, not dead.",
          "type": "integer"
        },
        "quiet": {
          "description": "48 hours to 90 days — plus any manual-mode instance, at any age.",
          "type": "integer"
        },
        "total": {
          "description": "Every instance with at least one snapshot.",
          "type": "integer"
        }
      },
      "required": [
        "active",
        "quiet",
        "dormant",
        "total"
      ],
      "type": "object"
    },
    "main": {
      "description": "Fleet-wide failure signals, derived from each instance's most recent snapshot. 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": {
            "instances": {
              "description": "Instances by recency. Previously a single integer counting every instance that ever reported, which overstated a fleet whose members had died.",
              "ref": "#instanceCounts",
              "type": "ref"
            },
            "quiet": {
              "description": "Instances whose most recent snapshot is older than the quiet threshold.",
              "items": {
                "ref": "#quietInstance",
                "type": "ref"
              },
              "type": "array"
            },
            "signals": {
              "items": {
                "ref": "#signal",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "instances",
            "signals",
            "quiet"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "quietInstance": {
      "properties": {
        "instanceId": {
          "type": "string"
        },
        "lastSeen": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "instanceId",
        "lastSeen"
      ],
      "type": "object"
    },
    "signal": {
      "properties": {
        "instances": {
          "description": "How many instances reported this at least once.",
          "type": "integer"
        },
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "severity": {
          "knownValues": [
            "warn",
            "info"
          ],
          "type": "string"
        },
        "total": {
          "description": "Sum across the fleet.",
          "type": "integer"
        }
      },
      "required": [
        "key",
        "label",
        "instances"
      ],
      "type": "object"
    }
  },
  "id": "at.happyproto.fleet.getSignals",
  "lexicon": 1
}

Validate Record

Validate a record against at.happyproto.fleet.getSignals

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

  • The reporting fleet, one row per instance, from its most recent snapshot. 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.

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

Lexicon Garden

@