95 lines
2.2 KiB
YAML
95 lines
2.2 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "ToolManifest",
|
|
"metadata": {
|
|
"name": "Observability Health Summary",
|
|
"slug": "observability-health-summary"
|
|
},
|
|
"spec": {
|
|
"canonicalName": "observability.health.summary",
|
|
"version": "1.0.0",
|
|
"connectorType": "observability",
|
|
"description": "Return aggregate internal Hub and connector health with no secret-bearing diagnostics.",
|
|
"riskClass": "R1",
|
|
"readOnly": true,
|
|
"idempotent": true,
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {},
|
|
"required": []
|
|
},
|
|
"outputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"status": {
|
|
"enum": [
|
|
"healthy",
|
|
"degraded",
|
|
"unavailable"
|
|
]
|
|
},
|
|
"components": {
|
|
"type": "array",
|
|
"maxItems": 200,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"maxLength": 200
|
|
},
|
|
"status": {
|
|
"enum": [
|
|
"healthy",
|
|
"degraded",
|
|
"unavailable",
|
|
"disabled",
|
|
"misconfigured"
|
|
]
|
|
},
|
|
"latencyMs": {
|
|
"type": [
|
|
"number",
|
|
"null"
|
|
],
|
|
"minimum": 0
|
|
},
|
|
"lastCheckedAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"status",
|
|
"latencyMs",
|
|
"lastCheckedAt"
|
|
]
|
|
}
|
|
},
|
|
"generatedAt": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"required": [
|
|
"status",
|
|
"components",
|
|
"generatedAt"
|
|
]
|
|
},
|
|
"limits": {
|
|
"timeoutMs": 10000,
|
|
"maxOutputBytes": 262144,
|
|
"maxItems": 100
|
|
},
|
|
"redactionProfile": "metadata",
|
|
"requiredScopes": [
|
|
"project:{project}:read"
|
|
]
|
|
}
|
|
}
|