Documentation ¶
Index ¶
- Constants
- func GetTextMapCarrierFromEvent(event eventstore.Event) opentracing.TextMapCarrier
- func GetTextMapCarrierFromMetaData(ctx context.Context) opentracing.TextMapCarrier
- func InjectSpanContextIntoGrpcMetadata(ctx context.Context, span opentracing.Span) context.Context
- func LogObjectAsJson(span opentracing.Span, name string, object any)
- func StartProjectionTracerSpan(ctx context.Context, operationName string, event eventstore.Event) (context.Context, opentracing.Span)
- func TraceErr(span opentracing.Span, err error, fields ...log.Field)
Constants ¶
View Source
const ( SpanTagTenant = "tenant" SpanTagComponent = "component" SpanTagAggregateId = "aggregateID" SpanTagEntityId = "entity-id" )
Variables ¶
This section is empty.
Functions ¶
func GetTextMapCarrierFromEvent ¶
func GetTextMapCarrierFromEvent(event eventstore.Event) opentracing.TextMapCarrier
func LogObjectAsJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.