Documentation
¶
Index ¶
- Constants
- func CalculateSpanFingerprint(res pcommon.Resource, sr ptrace.Span) int64
- func ComputeExemplarKey(rl pcommon.Resource, extraKeys []string) ([]string, int64)
- func Fingerprint(input string, clusterManager *TrieClusterManager) (fingerprint int64, level string, js map[string]any, err error)
- func GetExceptionMessage(sr ptrace.Span) string
- func GetFingerprintAttribute(l pcommon.Map) int64
- func GetFromResource(attr pcommon.Map, key string) string
- func GetStringAttribute(sr ptrace.Span, key string) string
- func NewFingerprinter(opts ...Option) *fingerprinterImpl
- type Fingerprinter
- type Option
- type TokenSeq
- type TrieClusterManager
Constants ¶
View Source
const ( LogLevelPlaceHolder = "<Loglevel>" IdentifierPlaceHolder = "<Identifier>" )
Variables ¶
This section is empty.
Functions ¶
func CalculateSpanFingerprint ¶ added in v0.25.2
func ComputeExemplarKey ¶ added in v0.30.2
func Fingerprint ¶ added in v0.30.9
func GetExceptionMessage ¶ added in v0.25.6
func GetFingerprintAttribute ¶ added in v0.30.2
func GetStringAttribute ¶ added in v0.30.13
func NewFingerprinter ¶
func NewFingerprinter(opts ...Option) *fingerprinterImpl
Types ¶
type Fingerprinter ¶
type Option ¶ added in v0.4.1
type Option func(*fingerprinterImpl)
func WithMaxTokens ¶ added in v0.4.1
type TokenSeq ¶ added in v0.25.1
TokenSeq represents a sequence of tokens extracted from log input. Items contains the tokenized pattern elements (e.g., ["<Loglevel>", "received", "<Path>"]). JsonKeys contains the dot-notation paths of any JSON keys found in the input.
type TrieClusterManager ¶ added in v0.25.1
type TrieClusterManager struct {
// contains filtered or unexported fields
}
TrieClusterManager maps full token-prefixes to per-node leafClusterers.
func NewTrieClusterManager ¶ added in v0.25.1
func NewTrieClusterManager(threshold float64) *TrieClusterManager
Source Files
¶
Click to show internal directories.
Click to hide internal directories.