Instrument your code with decorators to track operations, tasks, and workflows.
@operation
/ @task
Decorator@operation
and @task
decorators are aliases that create operation/task spans for tracking specific operations.
@workflow
Decorator@workflow
decorator creates workflow spans for tracking workflows, which can contain multiple operations.
@agent
Decorator@agent
decorator creates an agent span for tracking agent operations.
@session
Decorator@session
decorator creates a session span, which serves as the root for all other spans.
@session
for the root of your application@agent
for agent classes@operation
for specific operations@workflow
for sequences of operations