pub.chive.admin.getPrometheusMetrics
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"labelSet": {
"description": "Key-value pairs for metric labels",
"properties": {},
"type": "object"
},
"main": {
"description": "Get Prometheus metrics as JSON",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "AdminRequired"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"metrics": {
"description": "Prometheus metric entries",
"items": {
"ref": "#prometheusMetric",
"type": "ref"
},
"type": "array"
},
"timestamp": {
"description": "Timestamp of the metrics snapshot",
"format": "datetime",
"type": "string"
}
},
"required": [
"metrics",
"timestamp"
],
"type": "object"
}
},
"parameters": {
"properties": {},
"type": "params"
},
"type": "query"
},
"metricValue": {
"description": "A single metric value with its label set",
"properties": {
"exemplar": {
"description": "Optional exemplar value (numeric string)",
"type": "string"
},
"labels": {
"description": "Label key-value pairs",
"ref": "#labelSet",
"type": "ref"
},
"value": {
"description": "Metric value (numeric string)",
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
},
"prometheusMetric": {
"description": "A single Prometheus metric with its values",
"properties": {
"help": {
"description": "Metric help text",
"type": "string"
},
"name": {
"description": "Metric name",
"type": "string"
},
"type": {
"description": "Metric type",
"knownValues": [
"counter",
"gauge",
"histogram",
"summary"
],
"type": "string"
},
"values": {
"description": "Metric values with labels",
"items": {
"ref": "#metricValue",
"type": "ref"
},
"type": "array"
}
},
"required": [
"name",
"help",
"type",
"values"
],
"type": "object"
}
},
"id": "pub.chive.admin.getPrometheusMetrics",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:7natp5xae72bddaqlkef2t4e - CID
-
bafyreia5v7xnfpn4ffqlb7aonk37tsdzqzak6adrkqgpdiubcf3j3ejfoe - Indexed At
- 2026-05-04 17:29 UTC
- AT-URI
-
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.admin.getPrometheusMetrics
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Get per-endpoint HTTP request metrics from Prometheus