pub.chive.admin.getNodeMetrics

chive.pub

{
  "id": "pub.chive.admin.getNodeMetrics",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "metrics",
            "processInfo"
          ],
          "properties": {
            "metrics": {
              "type": "array",
              "items": {
                "ref": "#nodeMetric",
                "type": "ref"
              },
              "description": "Node.js and process metric entries"
            },
            "processInfo": {
              "ref": "#processInfo",
              "type": "ref",
              "description": "Process runtime information"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {}
      },
      "description": "Get Node.js runtime metrics and process information"
    },
    "nodeMetric": {
      "type": "object",
      "required": [
        "name",
        "value",
        "type"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Metric name"
        },
        "type": {
          "type": "string",
          "description": "Metric type",
          "knownValues": [
            "counter",
            "gauge",
            "histogram"
          ]
        },
        "unit": {
          "type": "string",
          "description": "Unit of measurement (bytes, seconds, percent)"
        },
        "value": {
          "type": "string",
          "description": "Current value (numeric string)"
        }
      },
      "description": "A Node.js runtime metric"
    },
    "processInfo": {
      "type": "object",
      "required": [
        "pid",
        "uptime",
        "heapUsed",
        "heapTotal",
        "rss"
      ],
      "properties": {
        "pid": {
          "type": "integer",
          "description": "Process ID"
        },
        "rss": {
          "type": "integer",
          "description": "Resident set size in bytes"
        },
        "uptime": {
          "type": "integer",
          "description": "Process uptime in seconds"
        },
        "cpuUser": {
          "type": "integer",
          "description": "CPU user time in microseconds"
        },
        "external": {
          "type": "integer",
          "description": "External memory in bytes"
        },
        "heapUsed": {
          "type": "integer",
          "description": "V8 heap used in bytes"
        },
        "cpuSystem": {
          "type": "integer",
          "description": "CPU system time in microseconds"
        },
        "heapTotal": {
          "type": "integer",
          "description": "V8 heap total in bytes"
        },
        "eventLoopLag": {
          "type": "integer",
          "description": "Event loop lag in microseconds"
        }
      },
      "description": "Node.js process runtime information"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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:7natp5xae72bddaqlkef2t4e
CID
bafyreihfncxjbquq6vgub7zmdujpn6wprrryomvpromupfafmu4ioocyva
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.getNodeMetrics

Lexicon Garden

@