We are planning to upgrade our influxDB to 1.7 and we have number TICK scripts are in place. Is there any option in tick script to use flux query instead of influxql, like below?
|query(SELECT 100 - mean(usage_idle) AS “value” FROM “telegraf”.“autogen”.“cpu”) to
|flux(filter(fn: ® =>
r._measurement == “cpu” and
r._field == “usage_idle”)
I couldn’t find any documentations regarding TICK script with flux, kindly help me if it’s possible.
TICK scripts have their own scripting language ,
it is not possible to use FLux in Tick scripts ,
your existing TICK scripts will still function after you upgrade
Hi @MarcV Thanks for the reply. Do you have any idea about how flux(especially alerting part) will replace TICK script in InfluxDB 2.0?
Thank you in advance.