Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithWorkflowTracer ¶
func WithWorkflowTracer(ctx sync.Context, tracer *WorkflowTracer) sync.Context
Types ¶
type Span ¶
type Span struct {
// contains filtered or unexported fields
}
func (*Span) Marshal ¶
func (s *Span) Marshal(metadata *core.WorkflowMetadata)
type WorkflowTracer ¶
type WorkflowTracer struct {
// contains filtered or unexported fields
}
func New ¶
func New(tracer trace.Tracer) *WorkflowTracer
func Tracer ¶
func Tracer(ctx sync.Context) *WorkflowTracer
func (*WorkflowTracer) Start ¶
func (wt *WorkflowTracer) Start(ctx sync.Context, name string, opts ...trace.SpanStartOption) (sync.Context, Span)
func (*WorkflowTracer) UpdateExecution ¶
func (wt *WorkflowTracer) UpdateExecution(span trace.Span)
Click to show internal directories.
Click to hide internal directories.