otel: go.opentelemetry.io/otel/bridge/opencensus/utils Index | Files

package utils

import "go.opentelemetry.io/otel/bridge/opencensus/utils"


Package Files


func OCSpanContextToOTel Uses

func OCSpanContextToOTel(sc octrace.SpanContext) trace.SpanContext

OCSpanContextToOTel converts from an OpenCensus SpanContext to an OpenTelemetry SpanContext.

func OTelSpanContextToOC Uses

func OTelSpanContextToOC(sc trace.SpanContext) octrace.SpanContext

OTelSpanContextToOC converts from an OpenTelemetry SpanContext to an OpenCensus SpanContext, and handles any incompatibilities with the global error handler.

Package utils imports 4 packages (graph) and is imported by 1 packages. Updated 2020-12-29. Refresh now. Tools for package owners.