pub.chive.admin.getEndpointMetrics

lexicons.governance.chive.pub

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "endpointMetric": {
      "description": "HTTP endpoint performance metric",
      "properties": {
        "errorCount": {
          "description": "Total error responses",
          "type": "integer"
        },
        "errorRate": {
          "description": "Error rate in basis points (100 = 1%)",
          "type": "integer"
        },
        "method": {
          "description": "HTTP method (GET, POST, etc.)",
          "type": "string"
        },
        "p50": {
          "description": "50th percentile latency in microseconds",
          "type": "integer"
        },
        "p95": {
          "description": "95th percentile latency in microseconds",
          "type": "integer"
        },
        "p99": {
          "description": "99th percentile latency in microseconds",
          "type": "integer"
        },
        "path": {
          "description": "Endpoint path",
          "type": "string"
        },
        "requestCount": {
          "description": "Total requests",
          "type": "integer"
        }
      },
      "required": [
        "method",
        "path",
        "requestCount",
        "errorCount"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get per-endpoint HTTP request metrics from Prometheus",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AdminRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "metrics": {
              "description": "Endpoint metric entries",
              "items": {
                "ref": "#endpointMetric",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "metrics"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.admin.getEndpointMetrics",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.admin.getEndpointMetrics

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

Lexicon Garden

@