detect_anomalies
Identify unusually long execution times in Tekton PipelineRuns and TaskRuns using z-score statistical analysis to detect performance anomalies in Kubernetes namespaces.
Instructions
Detect anomalies in Tekton PipelineRuns/TaskRuns using z-score statistical analysis.
Identifies unusually long execution times (threshold: 2.5 standard deviations from mean).
Args:
namespace: Kubernetes namespace to analyze.
limit: Max recent PipelineRuns to analyze (default: 50).
Returns:
Dict: Keys: pipeline_anomalies, task_anomalies (lists with anomaly details).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"namespace": "<namespace>"
},
"name": "detect_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |