detected

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeFields

func MergeFields(
	fields []*logproto.DetectedField,
	limit uint32,
) ([]*logproto.DetectedField, error)

func MergeLabels

func MergeLabels(labels []*logproto.DetectedLabel) (result []*logproto.DetectedLabel, err error)

func MergeValues added in v3.3.0

func MergeValues(
	values []string,
	limit uint32,
) ([]string, error)

Types

type UnmarshaledDetectedField

type UnmarshaledDetectedField struct {
	Label   string
	Type    logproto.DetectedFieldType
	Parsers []string
	Sketch  *hyperloglog.Sketch
}

func (*UnmarshaledDetectedField) Merge

type UnmarshaledDetectedLabel

type UnmarshaledDetectedLabel struct {
	Label  string
	Sketch *hyperloglog.Sketch
}

func (*UnmarshaledDetectedLabel) Merge

Jump to

Keyboard shortcuts

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