Data object to store captured operation traces.
Description
The OperationTrace class allows you to create a data object used to store captured operation traces.
Important points
- This object is used by CachedTracer.
Constructors
Create new instance of OperationTrace
OperationTrace(ZonedDateTime time, String source, String component, String operation, String traceId, long duration, ErrorDescription error)
- time: datetime - The time when operation was executed
- source: String - source (context name)
- component: String - name of the component
- operation: String - name of the executed operation
- trace_id: String - transaction id to trace execution through call chain.
- duration: long - duration of the operation in milliseconds
- error: ErrorDescription - The description of the captured error