pub.chive.admin.getNodeMetrics

lexicons.governance.chive.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get Node.js runtime metrics and process information",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "metrics": {
              "description": "Node.js and process metric entries",
              "items": {
                "ref": "#nodeMetric",
                "type": "ref"
              },
              "type": "array"
            },
            "processInfo": {
              "description": "Process runtime information",
              "ref": "#processInfo",
              "type": "ref"
            }
          },
          "required": [
            "metrics",
            "processInfo"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    },
    "nodeMetric": {
      "description": "A Node.js runtime metric",
      "properties": {
        "name": {
          "description": "Metric name",
          "type": "string"
        },
        "type": {
          "description": "Metric type",
          "knownValues": [
            "counter",
            "gauge",
            "histogram"
          ],
          "type": "string"
        },
        "unit": {
          "description": "Unit of measurement (bytes, seconds, percent)",
          "type": "string"
        },
        "value": {
          "description": "Current value (numeric string)",
          "type": "string"
        }
      },
      "required": [
        "name",
        "value",
        "type"
      ],
      "type": "object"
    },
    "processInfo": {
      "description": "Node.js process runtime information",
      "properties": {
        "cpuSystem": {
          "description": "CPU system time in microseconds",
          "type": "integer"
        },
        "cpuUser": {
          "description": "CPU user time in microseconds",
          "type": "integer"
        },
        "eventLoopLag": {
          "description": "Event loop lag in microseconds",
          "type": "integer"
        },
        "external": {
          "description": "External memory in bytes",
          "type": "integer"
        },
        "heapTotal": {
          "description": "V8 heap total in bytes",
          "type": "integer"
        },
        "heapUsed": {
          "description": "V8 heap used in bytes",
          "type": "integer"
        },
        "pid": {
          "description": "Process ID",
          "type": "integer"
        },
        "rss": {
          "description": "Resident set size in bytes",
          "type": "integer"
        },
        "uptime": {
          "description": "Process uptime in seconds",
          "type": "integer"
        }
      },
      "required": [
        "pid",
        "uptime",
        "heapUsed",
        "heapTotal",
        "rss"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.admin.getNodeMetrics",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.admin.getNodeMetrics

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:egjghlwgts2hlcer2txilxeh
CID
bafyreihfncxjbquq6vgub7zmdujpn6wprrryomvpromupfafmu4ioocyva
Indexed At
2026-06-18 13:14 UTC
AT-URI
at://did:plc:egjghlwgts2hlcer2txilxeh/com.atproto.lexicon.schema/pub.chive.admin.getNodeMetrics

Lexicon Garden

@