> you
Checkout is sometimes slow, and some orders do not complete. The logs show nothing. We cannot restart the service. Find the cause.
list_jvms
Found CheckoutServiceApp
Read
PaymentClient and FraudScreen come from acme-sdk.jar, which has no source
deploy_script
Measure FraudScreen.screen (return, error) and PaymentClient.authorize. Report every 5 s.
read_probe_output
wait_seconds: 12
exit_probe
Probe removed
list_probes
No probes running
> agent // diagnosis
FraudScreen.screen calls threw RiskServiceException : 22 of 104 (21%). checkout swallows it, so those orders are dropped without a log line. PaymentClient.authorize: 129 ms average, 449 ms worst. Probe removed.
// live probe output
$ list_jvms
48211 CheckoutServiceApp
$ deploy_script CheckoutProbe.java → 48211
probe attached, @OnTimer(5000)
$ read_probe_output --wait 12
=== checkout probe ===
FraudScreen.screen 104 calls 22 errors (21%)
RiskServiceException, swallowed by checkout
avg 15 ms max 41 ms
PaymentClient.authorize 76 calls
avg 129 ms max 449 ms
$ exit_probe
probe removed; no overhead remains
$ list_probes
(none)