Extend Monitor JSON Data evaluation with additional operators #4614
Labels
area:monitor
Everything related to monitors
feature-request
Request for new features to be added
type:enhance-existing
feature wants to enhance existing monitor
π I have found these related issues/pull requests
No similar issues / prs found
π·οΈ Feature Request Type
Change to existing monitor
π Feature description
Current implementation
The monitor type "HTTP(s) - Json Query" allows to add an expression in JSONata format and compare agains an expected value. It is currently only possible to compare the expression via equals.
Requested change
Adding functionality to also allow using other operators such as !=, <, <=, >, >=
Why
It is possible to define a JSONata expression with including the operator into the expression and turn it into a boolean expression that can be compared. However, it would be more clear to add the value to the monitoring configuration itself rather than to the expression. Also that way, the value could be added to the log of the monitor.
βοΈ Solution
For the monitoring type "HTTP(s) - Json Query"
β Alternatives
No response
π Additional Context
If fine, I'd like to provide a PR for that change. Following the rules for adding PRs, I wanted to clarify if this feature request sounds interesting to the Uptime Kuma team first.
The text was updated successfully, but these errors were encountered: