traceutil

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package traceutil provides utilities for converting OTel semantics to DD semantics.

The implementations live in pkg/trace/transform; this package re-exports them so that existing callers (e.g. pkg/trace/otel/stats) continue to work without taking a direct dependency on the parent pkg/trace module.

Index

Constants

View Source
const DefaultOTLPServiceName = transform.DefaultOTLPServiceName

DefaultOTLPServiceName is the default service name for OTel spans when no service name is found in the resource attributes.

Variables

View Source
var GetOTelAttrFromEitherMap = transform.GetOTelAttrFromEitherMap

GetOTelAttrFromEitherMap re-exports transform.GetOTelAttrFromEitherMap.

View Source
var GetOTelAttrVal = transform.GetOTelAttrVal

GetOTelAttrVal re-exports transform.GetOTelAttrVal.

View Source
var GetOTelAttrValInResAndSpanAttrs = transform.GetOTelAttrValInResAndSpanAttrs

GetOTelAttrValInResAndSpanAttrs re-exports transform.GetOTelAttrValInResAndSpanAttrs.

View Source
var GetOTelContainerTags = transform.GetOTelContainerTags

GetOTelContainerTags re-exports transform.GetOTelContainerTags.

View Source
var GetOTelOperationNameV1 = transform.GetOTelOperationNameV1

GetOTelOperationNameV1 re-exports transform.GetOTelOperationNameV1.

View Source
var GetOTelOperationNameV2 = transform.GetOTelOperationNameV2

GetOTelOperationNameV2 re-exports transform.GetOTelOperationNameV2.

View Source
var GetOTelResourceV1 = transform.GetOTelResourceV1

GetOTelResourceV1 re-exports transform.GetOTelResourceV1.

View Source
var GetOTelResourceV2 = transform.GetOTelResourceV2

GetOTelResourceV2 re-exports transform.GetOTelResourceV2.

View Source
var GetOTelService = transform.GetOTelService

GetOTelService re-exports transform.GetOTelService.

View Source
var GetOTelSpanType = transform.GetOTelSpanType

GetOTelSpanType re-exports transform.GetOTelSpanType.

View Source
var GetTopLevelOTelSpans = transform.GetTopLevelOTelSpans

GetTopLevelOTelSpans re-exports transform.GetTopLevelOTelSpans.

View Source
var IndexOTelSpans = transform.IndexOTelSpans

IndexOTelSpans re-exports transform.IndexOTelSpans.

View Source
var LookupSemanticFloat64 = transform.LookupSemanticFloat64

LookupSemanticFloat64 re-exports transform.LookupSemanticFloat64.

View Source
var LookupSemanticInt64 = transform.LookupSemanticInt64

LookupSemanticInt64 re-exports transform.LookupSemanticInt64.

View Source
var LookupSemanticString = transform.LookupSemanticString

LookupSemanticString re-exports transform.LookupSemanticString.

View Source
var LookupSemanticStringFromDualMaps = transform.LookupSemanticStringFromDualMaps

LookupSemanticStringFromDualMaps re-exports transform.LookupSemanticStringFromDualMaps.

View Source
var OTelSpanIDToUint64 = transform.OTelSpanIDToUint64

OTelSpanIDToUint64 re-exports transform.OTelSpanIDToUint64.

View Source
var OTelSpanKindName = transform.OTelSpanKindName

OTelSpanKindName re-exports transform.OTelSpanKindName.

View Source
var OTelTraceIDToUint64 = transform.OTelTraceIDToUint64

OTelTraceIDToUint64 re-exports transform.OTelTraceIDToUint64.

View Source
var (
	// SignalTypeSet is the OTel attribute set for traces.
	SignalTypeSet = attribute.NewSet(attribute.String("signal", "traces"))
)

Re-exported variables.

View Source
var SpanKind2Type = transform.SpanKind2Type

SpanKind2Type re-exports transform.SpanKind2Type.

Functions

func GetOTelOperationNameV2WithAccessor added in v0.78.0

func GetOTelOperationNameV2WithAccessor[A semantics.Accessor](span ptrace.Span, accessor A) string

GetOTelOperationNameV2WithAccessor wraps transform.GetOTelOperationNameV2WithAccessor.

func GetOTelResourceV2WithAccessor added in v0.78.0

func GetOTelResourceV2WithAccessor[A semantics.Accessor](span ptrace.Span, accessor A) string

GetOTelResourceV2WithAccessor wraps transform.GetOTelResourceV2WithAccessor.

func GetOTelServiceWithAccessor added in v0.78.0

func GetOTelServiceWithAccessor[A semantics.Accessor](accessor A, normalize bool) string

GetOTelServiceWithAccessor wraps transform.GetOTelServiceWithAccessor.

func GetOTelSpanTypeWithAccessor added in v0.78.0

func GetOTelSpanTypeWithAccessor[A semantics.Accessor](span ptrace.Span, accessor A) string

GetOTelSpanTypeWithAccessor wraps transform.GetOTelSpanTypeWithAccessor.

func LookupSemanticStringWithAccessor added in v0.78.0

func LookupSemanticStringWithAccessor[A semantics.Accessor](accessor A, concept semantics.Concept, shouldNormalize bool) string

LookupSemanticStringWithAccessor wraps transform.LookupSemanticStringWithAccessor.

Types

This section is empty.

Jump to

Keyboard shortcuts

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