Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blacklister ¶
type Blacklister struct {
// contains filtered or unexported fields
}
Blacklister holds a list of regular expressions which will match resources on spans that should be dropped.
func NewBlacklister ¶
func NewBlacklister(exprs []string) *Blacklister
NewBlacklister creates a new Blacklister based on the given list of regular expressions.
func (*Blacklister) Allows ¶
func (f *Blacklister) Allows(span *pb.Span) bool
Allows returns true if the Blacklister permits this span.
func (*Blacklister) AllowsStat ¶
func (f *Blacklister) AllowsStat(stat *pb.ClientGroupedStats) bool
AllowsStat returns true if the Blacklister permits this stat
type Replacer ¶
type Replacer struct {
// contains filtered or unexported fields
}
Replacer is a filter which replaces tag values based on its settings. It keeps all spans.
func NewReplacer ¶
func NewReplacer(rules []*config.ReplaceRule) *Replacer
NewReplacer returns a new Replacer which will use the given set of rules.
func (Replacer) ReplaceStatsGroup ¶
func (f Replacer) ReplaceStatsGroup(b *pb.ClientGroupedStats)
ReplaceStatsGroup applies the replacer rules to the given stats bucket group.
Click to show internal directories.
Click to hide internal directories.