pub.chive.admin.getEndpointMetrics
Get per-endpoint HTTP request metrics from Prometheus
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · query
| Kind | query |
|---|---|
| Authority | admin.chive.pub |
| Indexed |
Checks
Validunlimited-stringdefs.endpointMetric.properties.methodNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.endpointMetric.properties.pathNo maxLength, maxGraphemes or format limits this string.
{
"$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
}