From
bafyreia5v7xnfpn4ffqlb7aonk37tsdzqzak6adrkqgpdiubcf3j3ejfoe
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreia5v7xnfpn4ffqlb7aonk37tsdzqzak6adrkqgpdiubcf3j3ejfoe
indexed 2026-06-18 13:14 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"labelSet": {55
"description": "Key-value pairs for metric labels",66
"properties": {},77
"type": "object"88
},99
"main": {1010
"description": "Get Prometheus metrics as JSON",1111
"errors": [1212
{1313
"name": "AuthenticationRequired"1414
},1515
{1616
"name": "AdminRequired"1717
}1818
],1919
"output": {2020
"encoding": "application/json",2121
"schema": {2222
"properties": {2323
"metrics": {2424
"description": "Prometheus metric entries",2525
"items": {2626
"ref": "#prometheusMetric",2727
"type": "ref"2828
},2929
"type": "array"3030
},3131
"timestamp": {3232
"description": "Timestamp of the metrics snapshot",3333
"format": "datetime",3434
"type": "string"3535
}3636
},3737
"required": [3838
"metrics",3939
"timestamp"4040
],4141
"type": "object"4242
}4343
},4444
"parameters": {4545
"properties": {},4646
"type": "params"4747
},4848
"type": "query"4949
},5050
"metricValue": {5151
"description": "A single metric value with its label set",5252
"properties": {5353
"exemplar": {5454
"description": "Optional exemplar value (numeric string)",5555
"type": "string"5656
},5757
"labels": {5858
"description": "Label key-value pairs",5959
"ref": "#labelSet",6060
"type": "ref"6161
},6262
"value": {6363
"description": "Metric value (numeric string)",6464
"type": "string"6565
}6666
},6767
"required": [6868
"value"6969
],7070
"type": "object"7171
},7272
"prometheusMetric": {7373
"description": "A single Prometheus metric with its values",7474
"properties": {7575
"help": {7676
"description": "Metric help text",7777
"type": "string"7878
},7979
"name": {8080
"description": "Metric name",8181
"type": "string"8282
},8383
"type": {8484
"description": "Metric type",8585
"knownValues": [8686
"counter",8787
"gauge",8888
"histogram",8989
"summary"9090
],9191
"type": "string"9292
},9393
"values": {9494
"description": "Metric values with labels",9595
"items": {9696
"ref": "#metricValue",9797
"type": "ref"9898
},9999
"type": "array"100100
}101101
},102102
"required": [103103
"name",104104
"help",105105
"type",106106
"values"107107
],108108
"type": "object"109109
}110110
},111111
"id": "pub.chive.admin.getPrometheusMetrics",112112
"lexicon": 1,113113
"revision": 1114114
}