Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplyRntbdRequestRecordToString #38504

Conversation

xinlian12
Copy link
Member

@xinlian12 xinlian12 commented Jan 26, 2024

Before:

AsyncRntbdRequestRecord({"args":{"transportRequestId":1,"activityId":"897faf11-dab7-437e-804b-dc1d38491ae7","origin":"http://localhost","replicaPath":"/replica-path","timeCreated":"2024-01-26T01:46:30.775521Z","lifetime":"PT0.400800656S"},"requestLength":-1,"responseLength":-1,"status":{"done":true,"cancelled":true,"completedExceptionally":true,"error":{"type":"java.util.concurrent.CancellationException","value":{"cause":null,"stackTrace":[{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.9","methodName":"cancel","fileName":"CompletableFuture.java","lineNumber":2396,"className":"java.util.concurrent.CompletableFuture","nativeMethod":false},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"cancel","fileName":"MonoCompletionStage.java","lineNumber":61,"className":"reactor.core.publisher.MonoCompletionStage$1","nativeMethod":false},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"cancel","fileName":"FluxPeekFuseable.java","lineNumber":452,"className":"reactor.core.publisher.FluxPeekFuseable$PeekFuseableConditionalSubscriber","nativeMethod":false},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"cancel","fileName":"MonoPeekTerminal.java","lineNumber":144,"className":"reactor.core.publisher.MonoPeekTerminal$MonoTerminalPeekSubscriber","nativeMethod":false},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"FluxCancelOn.java","lineNumber":93,"className":"reactor.core.publisher.FluxCancelOn$CancelSubscriber","nativeMethod":false},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"call","fileName":"SchedulerTask.java","lineNumber":68,"className":"reactor.core.scheduler.SchedulerTask","nativeMethod":false},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"call","fileName":"SchedulerTask.java","lineNumber":28,"className":"reactor.core.scheduler.SchedulerTask","nativeMethod":false},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.9","methodName":"run","fileName":"FutureTask.java","lineNumber":264,"className":"java.util.concurrent.FutureTask","nativeMethod":false},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.9","methodName":"run","fileName":"ScheduledThreadPoolExecutor.java","lineNumber":304,"className":"java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask","nativeMethod":false},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.9","methodName":"runWorker","fileName":"ThreadPoolExecutor.java","lineNumber":1128,"className":"java.util.concurrent.ThreadPoolExecutor","nativeMethod":false},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.9","methodName":"run","fileName":"ThreadPoolExecutor.java","lineNumber":628,"className":"java.util.concurrent.ThreadPoolExecutor$Worker","nativeMethod":false},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"11.0.9","methodName":"run","fileName":"Thread.java","lineNumber":834,"className":"java.lang.Thread","nativeMethod":false}],"message":null,"suppressed":[],"localizedMessage":null}}},"timeline":[{"eventName":"created","startTimeUTC":"2024-01-26T01:46:30.775521Z","durationInMilliSecs":90.255},{"eventName":"queued","startTimeUTC":"2024-01-26T01:46:30.865776Z","durationInMilliSecs":339.301},{"eventName":"channelAcquisitionStarted","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"pipelined","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"decodeTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"completed","startTimeUTC":null,"durationInMilliSecs":0.0}]})

After:

{"RntbdRequestRecord":{"args":{"transportRequestId":1,"activityId":"d1bda6b5-cf48-4bfe-b8e7-c25cb4608496","origin":"http://localhost","replicaPath":"/replica-path","timeCreated":"2024-01-26T01:49:48.160221Z","lifetime":"PT0.622582065S"},"requestLength":-1,"responseLength":-1,"status":{"done":true,"cancelled":true,"completedExceptionally":true,"error":{"type":"java.util.concurrent.CancellationException"}},"timeline":[{"eventName":"created","startTimeUTC":"2024-01-26T01:49:48.160221Z","durationInMilliSecs":193.978},{"eventName":"queued","startTimeUTC":"2024-01-26T01:49:48.354199Z","durationInMilliSecs":487.845},{"eventName":"channelAcquisitionStarted","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"pipelined","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"transitTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"decodeTime","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"received","startTimeUTC":null,"durationInMilliSecs":0.0},{"eventName":"completed","startTimeUTC":null,"durationInMilliSecs":0.0}]}}

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jeet1995 jeet1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@xinlian12 xinlian12 merged commit dbc421b into Azure:main Jan 26, 2024
65 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants