Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 684 Bytes

File metadata and controls

35 lines (32 loc) · 684 Bytes

JSON Output Schema

The system generates structured JSON for UI integration.

Example Output

{
  "analysisWindow": {
    "baseline": {
      "start": "2025-01-10 10:00:00",
      "end": "2025-01-10 10:59:59"
    },
    "current": {
      "start": "2025-01-10 11:00:00",
      "end": "2025-01-10 11:59:59"
    }
  },
  "templates": [
    {
      "templateId": "T1",
      "template": "WARN Cache miss for key=*",
      "baselineCount": 2,
      "currentCount": 3,
      "status": "SPIKE"
    },
    {
      "templateId": "T2",
      "template": "ERROR Auth token invalid for userId=*",
      "baselineCount": 0,
      "currentCount": 2,
      "status": "NEW"
    }
  ]
}