Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergeFields ¶
func MergeFields( fields []*logproto.DetectedField, fieldLimit uint32, ) ([]*logproto.DetectedField, error)
func MergeLabels ¶
func MergeLabels(labels []*logproto.DetectedLabel) (result []*logproto.DetectedLabel, err error)
Types ¶
type UnmarshaledDetectedField ¶
type UnmarshaledDetectedField struct { Label string Type logproto.DetectedFieldType Parsers []string Sketch *hyperloglog.Sketch }
func UnmarshalDetectedField ¶
func UnmarshalDetectedField(f *logproto.DetectedField) (*UnmarshaledDetectedField, error)
func (*UnmarshaledDetectedField) Merge ¶
func (f *UnmarshaledDetectedField) Merge(df *logproto.DetectedField) error
type UnmarshaledDetectedLabel ¶
type UnmarshaledDetectedLabel struct { Label string Sketch *hyperloglog.Sketch }
func (*UnmarshaledDetectedLabel) Merge ¶
func (m *UnmarshaledDetectedLabel) Merge(dl *logproto.DetectedLabel) error
Click to show internal directories.
Click to hide internal directories.