Open zip-chanko opened 3 weeks ago
Hello Does Dynatrace support default values within the query?
Something that I'm not aware of. This is a general idea which applies to all scalers where a trigger could have a fallback value?
No no, I'm asking about if Dynatrace query language supports default values as part of the query. For example, PromQL does support setting default values
@zip-chanko The default transformation replaces null values in the payload with the specified value. Is this something you can use?
Proposal
A parameter for a scaler which fallbacks to a default value when the query returns no value.
Example: The
fallbackThreshold
parameter which fallbacks the value to10
when the query returns no value.Use-Case
As described in https://github.com/kedacore/keda/discussions/6054, Keda will show a warning
KEDAScalerFailed
if the query return no value.Is this a feature you are interested in implementing yourself?
No
Anything else?
No response