Documentation
¶
Index ¶
- Constants
- func EnrichCtxWithSpanCtxForGraphQL(ctx context.Context, operationContext *graphql.OperationContext) context.Context
- func ExtractSpanCtx(ctx context.Context) opentracing.SpanContext
- func LogObjectAsJson(span opentracing.Span, name string, object any)
- func SetDefaultResolverSpanTags(ctx context.Context, span opentracing.Span)
- func StartGraphQLTracerSpan(ctx context.Context, operationName string, ...) (context.Context, opentracing.Span)
- func StartHttpServerTracerSpanWithHeader(ctx context.Context, operationName string, headers http.Header) (context.Context, opentracing.Span)
- func TraceErr(span opentracing.Span, err error, fields ...log.Field)
Constants ¶
View Source
const (
SpanTagEntityId = tracing.SpanTagEntityId
)
Variables ¶
This section is empty.
Functions ¶
func ExtractSpanCtx ¶
func LogObjectAsJson ¶
func StartGraphQLTracerSpan ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.