Hello,
I'm building a KPI widget to keep an eye on the response time of a node, and I need it to display some text based on the current value.
i.e.: If the response time is lower than 300ms it'll display the word OK and if higher than 300ms it'll display NOT OK
The below query retrieves the value but not sure how to add/structure the IF statement for swql.
I'll appreciate the guidance.
SELECT
ResponseTime
FROM Orion.NodesStats
WHERE
NodeID LIKE '1'