Monitoring in the AI era · Part 2 of 3. The service, timings, and conversations are fictional examples. The figures are concept diagrams.

The order history page has slowed down. It worked normally after a 10:00 deployment, but long-running requests appeared as traffic increased around 10:14. The operations team used real-time monitoring to identify the affected service and began narrowing the investigation with AI.

The operator now asks: “It was fine right after deployment. What changed between then and now?” Alongside today's slow requests, there is a reason to reopen earlier fast ones.

Here, a transaction means one application request, such as an order history lookup. A profile is the collected execution record showing database queries, external calls, and other work inside that request. Response time shows the outcome; the profile helps explain the work that led to it.

“We found a slow request. Did it always work this way?”

The team finds repeated database lookups in a slow order history request. SQL is a command the application sends to the database to read or change data. This request executed eight SQL calls and completed in 2.4 seconds.

That alone does not explain the cause. Eight calls may be expected, or the deployment may have added some. Perhaps the customer simply had more orders. The operator starts looking for a useful comparison.

Operator“I can see repeated database lookups in the slow request. Did requests work this way before deployment?”

What to compareFind requests for the same feature that processed a similar amount of data, then compare their execution records before and after deployment.

A request with one order item and a request with 100 items do different amounts of work. In this example, the comparison uses requests with five items. The team checks item counts through available business information or controlled test conditions, alongside deployment time and version information. Matching the conditions makes the execution difference easier to understand.

The response was fast, but the work had already increased

At 09:55, before deployment, a request made three SQL calls and finished in 230 ms, about 0.23 seconds. At 10:02, just after deployment, a request made eight calls. Extra lookups fetched details for each order item. Yet the response still took only 260 ms, about 0.26 seconds. Both requests felt fast to the customer.

At 10:14, after traffic increased, another request also made eight calls, but took 2.4 seconds. Other requests were still running for much longer in the same period. This is the delay noticed through live monitoring in Part 1.

Matching requests with five order items: 3 SQL calls and 230 ms before deployment; 8 calls and 260 ms just after; 8 calls and 2,400 ms under higher traffic. These observations are clues, not proof of causation.
Matching requests with five order items: 3 SQL calls and 230 ms before deployment; 8 calls and 260 ms just after; 8 calls and 2,400 ms under higher traffic. These observations are clues, not proof of causation.

See how completed requests become individual dots: Watch the X-View concept film.

Putting the three observations together reveals a useful difference. The extra queries did not first appear after the slowdown. They were already present just after deployment. At that point, response time alone did not make the change obvious.

The initial page check was not wrong: the response really was fast. But one fast response cannot tell the team whether the application will have the same spare capacity under heavier traffic. Comparing individual execution records exposed the additional work.

This does not establish that the extra queries caused every delay. It creates a more specific question: “Did the extra work increase the burden when requests arrived together?” The team can look for the same pattern in other matching requests and examine database processing and waits in that period.

What if the earlier fast request has no profile?

Now imagine that the response time from just after deployment is available, but the profile is not. The operator knows the page opened quickly then, and knows the current slow request makes eight SQL calls. But “Did that fast request already make eight calls?” is harder to answer directly.

The team can inspect the code, recreate the conditions, or consult other logs. Those are useful routes, but the investigation differs from comparing the actual execution record of the earlier request. Reproducing a condition that occurs only occasionally can take time.

This is where sampling matters. Large request volumes generate data that must be collected, transferred, and stored. Sampling reduces that volume by selecting some requests to retain. Policies may keep a proportion of requests or prioritize errors and slow requests.

Sampled records can still support detailed analysis. A selected request can contain a rich profile. But if the request needed for a later comparison was not selected, its profile may be unavailable. Here, that request is the apparently uneventful, fast one just after deployment. Sampling can also retain normal requests depending on policy; it does not always exclude them.

Sampling may retain fast requests too. This comparison shows what can be confirmed when a particular earlier profile is available or unavailable.
Sampling may retain fast requests too. This comparison shows what can be confirmed when a particular earlier profile is available or unavailable.

Operator“It was fast right after deployment. Was it already repeating those lookups?”

JENNIFER Insight — Example response, earlier profile unavailable“The current slow request shows repeated lookups. These records do not establish whether the request just after deployment worked the same way.”

JENNIFER Insight — Example response, earlier profile available“The fast request just after deployment also executed eight SQL calls. It finished quickly, but the additional queries were already there.”

The question is the same; the evidence changes what can be confirmed. Broad individual transaction monitoring and retained profiles provide a way back to requests whose importance only becomes clear after the incident.

A successful request can still have a story to tell

A successful response does not mean every request followed the same path. Consider order history that fetches delivery status. One request calls the delivery system once. Another retries after the first attempt fails and eventually succeeds. Both return a normal page, but their internal work differs.

If the delivery system later slows down, the operator may ask, “Were retries already common?” Where the collected profile includes each call, successful requests can show the retry and its duration. The final success status or overall average may not reveal that difference.

Some delivery types may also use a separate system. Most requests being healthy does not establish that customers on that path are unaffected. Once the team learns which condition matters, it needs to be able to revisit records that match it.

This does not require an operator to read every request from the start. Watch the overall state, narrow the service and time window when a problem appears, then compare slow with fast and before with after. Individual records let the team revisit the relevant detail as questions arise.

Why reopen a fast request in JENNIFER?

JENNIFER observes all transactions within the monitored application scope as individual requests. X-View represents completed requests as individual dots with their response times. After examining a slow request, the operator can compare its collected profile with one from a faster request in the same service. X-View and transaction profiling

For order history, start at the slowdown, then go back to just after deployment and before deployment. Compare similar requests across the three periods to see whether query counts and repeated work changed. This connects today's problem with earlier normal behavior.

The available detail and historical period depend on collection settings and retention policy. For important services, check that normal request profiles can be reopened for the period your team needs.

This comparison also helps after a deployment, before an incident occurs. If database calls increased under the same input conditions even though responses remain fast, there is a reason to test heavier traffic. Execution changes can be worth investigating before they produce visible delays.

AI's explanation starts with the records

An operator can ask, “Summarize the work that differs in the slow requests,” then follow up with, “Did the fast requests after deployment do that too?” Retained profiles allow the conversation to return to actual execution evidence. Further questions can check input size and whether the pattern occurs in other requests.

AI can suggest possible explanations, but it cannot fill in an unrecorded request's execution as a confirmed fact. Records let the conversation go beyond general possibilities to differences observed in this service. There is no need to send every record to a model at once: narrow the service and time window and use relevant evidence.

The key clue was not simply that a slow request made many queries. The fast request just after deployment already contained the extra queries. That record separated the start of the execution change from the later slowdown.

The next questions follow naturally: “Why can a few more queries matter? How can we reduce them, and how will we know the change helped?” Part 3 follows a conversation with JENNIFER Insight through the technical explanation, improvement options, and verification.