Documentation ¶
Index ¶
- func NewBoolExprForDataPoint(conditions []string, ...) (expr.BoolExpr[ottldatapoint.TransformContext], error)
- func NewBoolExprForLog(conditions []string, ...) (expr.BoolExpr[ottllog.TransformContext], error)
- func NewBoolExprForMetric(conditions []string, ...) (expr.BoolExpr[ottlmetric.TransformContext], error)
- func NewBoolExprForSpan(conditions []string, ...) (expr.BoolExpr[ottlspan.TransformContext], error)
- func NewBoolExprForSpanEvent(conditions []string, ...) (expr.BoolExpr[ottlspanevent.TransformContext], error)
- func NewSpanSkipExprBridge(mc *filterconfig.MatchConfig) (expr.BoolExpr[ottlspan.TransformContext], error)
- func StandardDataPointFuncs() map[string]ottl.Factory[ottldatapoint.TransformContext]
- func StandardLogFuncs() map[string]ottl.Factory[ottllog.TransformContext]
- func StandardMetricFuncs() map[string]ottl.Factory[ottlmetric.TransformContext]
- func StandardSpanEventFuncs() map[string]ottl.Factory[ottlspanevent.TransformContext]
- func StandardSpanFuncs() map[string]ottl.Factory[ottlspan.TransformContext]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoolExprForDataPoint ¶
func NewBoolExprForDataPoint(conditions []string, functions map[string]ottl.Factory[ottldatapoint.TransformContext], errorMode ottl.ErrorMode, set component.TelemetrySettings) (expr.BoolExpr[ottldatapoint.TransformContext], error)
NewBoolExprForDataPoint creates a BoolExpr[ottldatapoint.TransformContext] that will return true if any of the given OTTL conditions evaluate to true. The passed in functions should use the ottldatapoint.TransformContext. If a function named `drop` is not present in the function map it will be added automatically so that parsing works as expected
func NewBoolExprForLog ¶
func NewBoolExprForLog(conditions []string, functions map[string]ottl.Factory[ottllog.TransformContext], errorMode ottl.ErrorMode, set component.TelemetrySettings) (expr.BoolExpr[ottllog.TransformContext], error)
NewBoolExprForLog creates a BoolExpr[ottllog.TransformContext] that will return true if any of the given OTTL conditions evaluate to true. The passed in functions should use the ottllog.TransformContext. If a function named `drop` is not present in the function map it will be added automatically so that parsing works as expected
func NewBoolExprForMetric ¶
func NewBoolExprForMetric(conditions []string, functions map[string]ottl.Factory[ottlmetric.TransformContext], errorMode ottl.ErrorMode, set component.TelemetrySettings) (expr.BoolExpr[ottlmetric.TransformContext], error)
NewBoolExprForMetric creates a BoolExpr[ottlmetric.TransformContext] that will return true if any of the given OTTL conditions evaluate to true. The passed in functions should use the ottlmetric.TransformContext. If a function named `drop` is not present in the function map it will be added automatically so that parsing works as expected
func NewBoolExprForSpan ¶
func NewBoolExprForSpan(conditions []string, functions map[string]ottl.Factory[ottlspan.TransformContext], errorMode ottl.ErrorMode, set component.TelemetrySettings) (expr.BoolExpr[ottlspan.TransformContext], error)
NewBoolExprForSpan creates a BoolExpr[ottlspan.TransformContext] that will return true if any of the given OTTL conditions evaluate to true. The passed in functions should use the ottlspan.TransformContext. If a function named `drop` is not present in the function map it will be added automatically so that parsing works as expected
func NewBoolExprForSpanEvent ¶
func NewBoolExprForSpanEvent(conditions []string, functions map[string]ottl.Factory[ottlspanevent.TransformContext], errorMode ottl.ErrorMode, set component.TelemetrySettings) (expr.BoolExpr[ottlspanevent.TransformContext], error)
NewBoolExprForSpanEvent creates a BoolExpr[ottlspanevent.TransformContext] that will return true if any of the given OTTL conditions evaluate to true. The passed in functions should use the ottlspanevent.TransformContext. If a function named `drop` is not present in the function map it will be added automatically so that parsing works as expected
func NewSpanSkipExprBridge ¶
func NewSpanSkipExprBridge(mc *filterconfig.MatchConfig) (expr.BoolExpr[ottlspan.TransformContext], error)
func StandardDataPointFuncs ¶
func StandardDataPointFuncs() map[string]ottl.Factory[ottldatapoint.TransformContext]
func StandardLogFuncs ¶
func StandardLogFuncs() map[string]ottl.Factory[ottllog.TransformContext]
func StandardMetricFuncs ¶
func StandardMetricFuncs() map[string]ottl.Factory[ottlmetric.TransformContext]
func StandardSpanEventFuncs ¶
func StandardSpanEventFuncs() map[string]ottl.Factory[ottlspanevent.TransformContext]
func StandardSpanFuncs ¶
func StandardSpanFuncs() map[string]ottl.Factory[ottlspan.TransformContext]
Types ¶
This section is empty.