Files
java-ai-agents/log-anomaly/output/07-incident.txt
T

23 lines
1.9 KiB
Plaintext

# From findings to one incident and one summary
5 findings -> 1 incident(s)
window 2026-11-30 11:05:13 +05:30 to 2026-11-30 11:29:46 +05:30, 5 findings, 542 events
## Summary without a model
ERROR incident from 2026-11-30 11:05:13 +05:30 to 2026-11-30 11:29:46 +05:30: 4 new message kinds and 1 known messages surging, 542 events in all. Top: "HikariPool-<*> - Connection is not available, request timed out after <*>ms." (HikariPool, 144x); "Payment gateway timeout after <*> ms for order <*>, retry <*> of <*>" (PaymentService, 90x); "Failed to process order <*>: Unable to acquire JDBC Connection" (OrderController, 108x).
## The prompt a model would receive
You are helping an on-call engineer. Below are the anomalous log templates from one incident.
Write 3 sentences: what changed, the likely cause, and what to check first.
Only use facts from the list; do not invent hosts, versions or numbers.
Window: 2026-11-30 11:05:13 +05:30 to 2026-11-30 11:29:46 +05:30
1. [ERROR] HikariPool: HikariPool-<*> - Connection is not available, request timed out after <*>ms. (NOVEL_TEMPLATE, 144 events, new template, distance 0.678 > 0.393)
2. [WARN] PaymentService: Payment gateway timeout after <*> ms for order <*>, retry <*> of <*> (NOVEL_TEMPLATE, 90 events, new template, distance 0.459 > 0.393)
3. [ERROR] OrderController: Failed to process order <*>: Unable to acquire JDBC Connection (NOVEL_TEMPLATE, 108 events, new template, distance 0.434 > 0.393)
4. [INFO] OrderController: Order <*> placed by customer c-<*> total=<*> currency=INR (NOVEL_TEMPLATE, 156 events, new template, distance 0.394 > 0.393)
5. [WARN] PaymentService: Payment declined for order <*>: insufficient funds (RATE_SPIKE, 44 events, peak 44 per 5 min vs baseline mean 2.6 (std 0.9), z = 45.6)
## Size
raw target window: 2196 physical lines, 310589 characters
prompt: 1112 characters (0.4% of the raw window)