sanitizer

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SanitizeSpan

type SanitizeSpan func(span *model.Span) *model.Span

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL