Documentation ¶
Index ¶
Constants ¶
View Source
const (
// OK valid spans
OK = "ok"
)
Variables ¶
This section is empty.
Functions ¶
func GetSpanFilterMapFromContext ¶
GetSpanFilterMapFromContext is a target for spanumsink.SinkFunc to be turned into a spanumsink.Sink
func ReturnInvalidOrError ¶
ReturnInvalidOrError returns nil for a valid SpanFilter, an invalid SpanFilter or an error containing the bytes
Types ¶
type Map ¶
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
func GetSpanFilterMapOrNew ¶
GetSpanFilterMapOrNew is a target for spanumsink.SinkFunc to be turned into a spanumsink.Sink
func (*Map) CheckInvalid ¶
CheckInvalid is a nil safe check if this SpanFilter contains invalid keys
Click to show internal directories.
Click to hide internal directories.