OperationTrace

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

Constructors

Create new instance of OperationTrace

constructor(time: Date, source: String, component: String, operation: String, traceId: String, duration: number, error: ErrorDescription)

  • time: Date - The time when operation was executed
  • source: String - source (context name)
  • component: String - name of the component
  • operation: String - name of the executed operation
  • traceId: String - transaction id to trace execution through call chain.
  • duration: number - duration of the operation in milliseconds
  • error: ErrorDescription - The description of the captured error

Fields

time

The time when operation was executed

time: DateTime?

source

The source (context name)

source: String?

component

The name of the component

component: String?

operation

The name of the executed operation

operation: String?

traceId

The transaction id to trace execution through call chain.

traceId: String?

duration

The duration of the operation in milliseconds

duration: int?

error

The description of the captured error.
See also ErrorDescription, ApplicationException

error: ErrorDescription