tracefilter

package
v0.0.0-...-2ad2f98 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TraceFilter

type TraceFilter struct {
	// contains filtered or unexported fields
}

TraceFilter provides a struct to create a tree structure that can be used to filter traces

func NewTraceFilter

func NewTraceFilter() *TraceFilter

NewTraceFilter creates a new instance of TraceFilter

func (*TraceFilter) AddPath

func (tf *TraceFilter) AddPath(path []string, traceKey string)

AddPath adds a path to the tree

func (*TraceFilter) GetLeafNodeTraceKeys

func (tf *TraceFilter) GetLeafNodeTraceKeys() []string

GetLeafNodeTraceKeys returns the trace keys from the leaf nodes This will filter out any traces that have child nodes

Jump to

Keyboard shortcuts

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