# Functions
CompareResourceSpans compares each part of two given ResourceSpans and returns an error if they don't match.
CompareScopeSpans compares each part of two given SpanSlices and returns an error if they don't match.
CompareSpan compares each part of two given Span and returns an error if they don't match.
CompareSpanEvent compares each part of two given SpanEvent and returns an error if they don't match.
CompareSpanLink compares each part of two given SpanLink and returns an error if they don't match.
CompareTraces compares each part of two given Traces and returns an error if they don't match.
IgnoreEndTimestamp is a CompareTracesOption that clears EndTimestamp fields on all spans.
IgnoreResourceAttributeValue is a CompareTracesOption that removes a resource attribute from all resources.
IgnoreResourceSpansOrder is a CompareTracesOption that ignores the order of resource traces/metrics/logs.
IgnoreScopeSpanInstrumentationScopeAttributeValue is a CompareTracesOption that clears value of the scope span instrumentation scope name.
IgnoreScopeSpanInstrumentationScopeName is a CompareTracesOption that clears value of the scope span instrumentation scope name.
IgnoreScopeSpanInstrumentationScopeVersion is a CompareTracesOption that clears value of the scope span instrumentation scope version.
IgnoreScopeSpansOrder is a CompareTracesOption that ignores the order of instrumentation scope traces/metrics/logs.
IgnoreSpanAttributeValue is a CompareTracesOption that clears value of the span attribute.
IgnoreSpanID is a CompareTracesOption that clears SpanID fields on all spans.
IgnoreSpansOrder is a CompareTracesOption that ignores the order of spans.
IgnoreStartTimestamp is a CompareTracesOption that clears StartTimestamp fields on all spans.
IgnoreTraceID is a CompareTracesOption that clears TraceID fields on all spans.
# Interfaces
CompareTracesOption can be used to mutate expected and/or actual traces before comparing.