customottl

package
v0.116.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToStatement

func ConvertToStatement(s string) string

ConvertToStatement converts ottl.Value to an OTTL statement. To do this, it uses a custom `get` editor. This is expected to be a temporary measure until value parsing is allowed by the OTTL pkg.

func LogFuncs

func LogFuncs() map[string]ottl.Factory[ottllog.TransformContext]

func NewAdjustedCountFactory

func NewAdjustedCountFactory() ottl.Factory[ottlspan.TransformContext]

func NewGetFactory

func NewGetFactory[K any]() ottl.Factory[K]

func SpanFuncs

func SpanFuncs() map[string]ottl.Factory[ottlspan.TransformContext]

Types

type GetArguments

type GetArguments[K any] struct {
	Value ottl.Getter[K]
}

Jump to

Keyboard shortcuts

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