Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SpanIDToHexOrEmptyString ¶ added in v0.65.0
SpanIDToHexOrEmptyString returns a hex string from SpanID. An empty string is returned, if SpanID is empty.
func SpanKindStr ¶
SpanKindStr returns a string representation of the SpanKind as it's defined in the proto. The function provides old behavior of ptrace.SpanKind.String() to support graceful adoption of https://github.com/open-telemetry/opentelemetry-collector/pull/6250.
func StatusCodeStr ¶
func StatusCodeStr(sk ptrace.StatusCode) string
StatusCodeStr returns a string representation of the StatusCode as it's defined in the proto. The function provides old behavior of ptrace.StatusCode.String() to support graceful adoption of https://github.com/open-telemetry/opentelemetry-collector/pull/6250.
func TraceIDToHexOrEmptyString ¶ added in v0.65.0
TraceIDToHexOrEmptyString returns a hex string from TraceID. An empty string is returned, if TraceID is empty.
Types ¶
This section is empty.