# Functions
FromBytes returns a Map or an error
nolint:nilerr.
GetSpanFilterMapFromContext is a target for spanumsink.SinkFunc to be turned into a spanumsink.Sink.
GetSpanFilterMapOrNew is a target for spanumsink.SinkFunc to be turned into a spanumsink.Sink.
IsInvalid returns false if it's a Map with no invalid entries or nil, else true.
IsMap returns whether an error is an instance of Map.
ReturnInvalidOrError returns nil for a valid SpanFilter, an invalid SpanFilter or an error containing the bytes.
WithSpanFilterContext gives you a request with the Map set.
# Constants
InvalidSpanID has either the wrong length, or does not contain hex digits.
InvalidTraceID has either the wrong length, or does not contain hex digits.
NilOperationName when no localendpoint.name is provided.
NilServiceName when no localendpoint.name is provided.
OK valid spans.
RequiredTagMissing means the span was missing a required tag.
SpanTooLargeDropped means a span size was over limits and was dropped.
TooManySpansInTrace when we find an abusive number of spans for a given traceID.
ZeroStartTime when the star time of the span is 0.
ZeroTraceID when the traceid bytes are all zero.
ZipkinV2BinaryAnnotations are not allowed.