Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainedSanitizer ¶
type ChainedSanitizer []Sanitizer
ChainedSanitizer applies multiple sanitizers in serial fashion
func NewChainedSanitizer ¶
func NewChainedSanitizer(sanitizers ...Sanitizer) ChainedSanitizer
NewChainedSanitizer creates a Sanitizer from the variadic list of passed Sanitizers
type Sanitizer ¶
Sanitizer interface for sanitizing spans. Any business logic that needs to be applied to normalize the contents of a span should implement this interface. TODO - just make this a function
func NewParentIDSanitizer ¶
NewParentIDSanitizer returns a sanitizer that deals parentID == 0 by replacing with nil, per Zipkin convention.
func NewSpanDurationSanitizer ¶
NewSpanDurationSanitizer returns a sanitizer that deals with nil or 0 span duration.
Click to show internal directories.
Click to hide internal directories.