# Functions
ExtractDistributedTracingExtension extracts the tracecontext from the cloud event into the context.
GetDefaultSpanAttributes returns the attributes that are always added to the spans created by the OTelObservabilityService.
InjectDistributedTracingExtension injects the tracecontext from the context into the event as a DistributedTracingExtension
If a DistributedTracingExtension is present in the provided event, its current value is replaced with the tracecontext obtained from the context.
NewClientHTTP produces a new client instrumented with OpenTelemetry.
NewCloudEventCarrier creates a new CloudEventCarrier with an empty distributed tracing extension.
NewCloudEventCarrierWithEvent creates a new CloudEventCarrier with a distributed tracing extension populated with the trace data from the event.
NewOTelObservabilityService returns an OpenTelemetry-enabled observability service.
WithSpanAttributesGetter appends the returned attributes from the function to the span.
WithSpanNameFormatter replaces the default span name with the string returned from the function.
# Structs
CloudEventCarrier wraps the distributed trace extension to satisfy the TextMapCarrier interface.
OTelObservabilityService implements the ObservabilityService interface from cloudevents.
# Type aliases
No description provided by the author