Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SanitizeSpan ¶
SanitizeSpan sanitizes/normalizes spans. Any business logic that needs to be applied to normalize the contents of a span should implement this interface.
func NewChainedSanitizer ¶
func NewChainedSanitizer(sanitizers ...SanitizeSpan) SanitizeSpan
NewChainedSanitizer creates a Sanitizer from the variadic list of passed Sanitizers
func NewServiceNameSanitizer ¶
func NewServiceNameSanitizer(cache cache.Cache) SanitizeSpan
NewServiceNameSanitizer creates a service name sanitizer.
func NewUTF8Sanitizer ¶
func NewUTF8Sanitizer(logger *zap.Logger) SanitizeSpan
NewUTF8Sanitizer creates a UTF8 sanitizer.
Click to show internal directories.
Click to hide internal directories.