@Async
Annotated methods
In Spring Cloud Sleuth,
This feature is available for all tracer implementations.
...
Gliffy |
---|
macroId | cb8c5ba2-bd3a-4428-a0a8-b292723b12a2 |
---|
displayName | Logging async thread with child spanid |
---|
name | Logging Async Thread |
---|
pagePin | 6 |
---|
|
Code Block |
---|
language | xmljava |
---|
theme | MidnightEclipse |
---|
firstline | 1 |
---|
title | Current Logging Sample |
---|
linenumbers | true |
---|
|
{"logTimeStamp":"2022-05-09T19:49:34.126Z",
"logLevel":"DEBUG",
"traceId":"fa1fe5775ee5c1ef",
"principalId":"cps",
"serviceName":"cps-application",
"message":"data updated event to be published org.onap.cps.event.model.CpsDataUpdatedEvent]",
"spanId":"fa1fe5775ee5c1ef",
"processId":"24032",
"threadName":"qtp1680634575-28",
"class":"o.o.cps.notification.NotificationService"} |
...
Gliffy |
---|
macroId | 0f20e9e3-6021-4e8c-86c8-7b25d765a6fe |
---|
name | Logging async call with child spanid |
---|
pagePin | 1 |
---|
|
Code Block |
---|
language | java |
---|
theme | Midnight |
---|
firstline | 1 |
---|
title | Logging with child spanid |
---|
linenumbers | true |
---|
|
{"logTimeStamp":"2022-05-09T19:39:34.386Z",
"logLevel":"DEBUG",
"traceId":"523fcb8a6d412b8f",
"principalId":"cps",
"serviceName":"cps-application",
"message":"Execution time of : DataspaceRepository.getByName() with argument[s] = [NFP-Operational] having result = org.onap.cps.spi.entities.DataspaceEntity@5cc01260 :: 3 ms",
"spanId":"523fcb8a6d412b8f",
"processId":"23536",
"threadName":"qtp1120682507-29",
"class":"org.onap.cps.aop.CpsLoggingAspectService"}
{"logTimeStamp":"2022-05-09T19:39:35.641Z",
"logLevel":"DEBUG",
"traceId":"523fcb8a6d412b8f",
"principalId":"cps",
"serviceName":"cps-application",
"message":"data updated event to be published org.onap.cps.event.model.CpsDataUpdatedEvent]",
"spanId":"32c61a4852fb932f",
"processId":"23536",
"threadName":"qtp1120682507-29",
"class":"o.o.cps.notification.NotificationService"} |
...