Alerting: Log expression command types during evaluation (#84614)
This commit is contained in:
@@ -128,6 +128,10 @@ func (tc *ThresholdCommand) Execute(ctx context.Context, now time.Time, vars mat
|
||||
return mathCommand.Execute(ctx, now, vars, tracer)
|
||||
}
|
||||
|
||||
func (tc *ThresholdCommand) Type() string {
|
||||
return TypeThreshold.String()
|
||||
}
|
||||
|
||||
// createMathExpression converts all the info we have about a "threshold" expression in to a Math expression
|
||||
func createMathExpression(referenceVar string, thresholdFunc ThresholdType, args []float64, invert bool) (string, error) {
|
||||
var exp string
|
||||
|
||||
Reference in New Issue
Block a user