oc2otel

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package oc2otel provides conversion from OpenCensus to OpenTelemetry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttributeValue

func AttributeValue(ocval any) attribute.Value

func Attributes

func Attributes(attr []octrace.Attribute) []attribute.KeyValue

func AttributesFromMap added in v1.25.0

func AttributesFromMap(attr map[string]any) []attribute.KeyValue

func SpanContext

func SpanContext(sc octrace.SpanContext) trace.SpanContext

func StartOptions

func StartOptions(optFuncs []octrace.StartOption) ([]trace.SpanStartOption, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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