utils

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package utils provides utilities for the OpenCensus bridge.

Deprecated: Use the equivalent functions from the bridge/opencensus package instead.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OCSpanContextToOTel deprecated

func OCSpanContextToOTel(sc octrace.SpanContext) trace.SpanContext

OCSpanContextToOTel converts from an OpenCensus SpanContext to an OpenTelemetry SpanContext.

Deprecated: Use OCSpanContextToOTel from bridge/opencensus instead.

func OTelSpanContextToOC deprecated

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.

Deprecated: Use OTelSpanContextToOC from bridge/opencensus instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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