tracenode

package
v2.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DataKey = "data"
	RuleKey = "rule"
)

Variables

This section is empty.

Functions

func BuildTraceParentId

func BuildTraceParentId(traceID [16]byte, spanID [8]byte) string

func ExtractStrategy

func ExtractStrategy(ctx api.StreamContext) topoContext.TraceStrategy

func RecordRowOrCollection

func RecordRowOrCollection(input interface{}, span trace.Span)

func StartTraceBackground

func StartTraceBackground(ctx api.StreamContext, opName string, opts ...trace.SpanStartOption) (bool, api.StreamContext, trace.Span)

func StartTraceByID

func StartTraceByID(ctx api.StreamContext, parentId string, opts ...trace.SpanStartOption) (bool, api.StreamContext, trace.Span)

func ToStringCollection

func ToStringCollection(r api.MessageTupleList) string

func ToStringRow

func ToStringRow(r xsql.Row) string

func TraceInput

func TraceInput(ctx api.StreamContext, d any, opName string, opts ...trace.SpanStartOption) (bool, api.StreamContext, trace.Span)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL