package
2.5.1+incompatible
Repository: https://github.com/signalfx/golib.git
Documentation: pkg.go.dev

# Functions

FromBytes returns a Map or an error.
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

OK valid spans.

# Structs

Map is the response we return from ingest wrt our span endpoint It contains the number of spans that were valid, and a map of string reason to spanIds for each invalid span.