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