Closed mamosk closed 4 years ago
TICKscript syntax documatation states that:
int() - converts a string, float64, Boolean or duration type to an int64
int()
But if I try to convert a duration into an integer, I get following error:
Cannot call function "int" with args (30m0s: duration), available signatures are [(boolean), (string), (int), (float)].
So I guess duration should be removed from int() function documentation.
https://docs.influxdata.com/kapacitor/v1.5/tick/syntax/#working-with-tags-fields-and-variables
Kapacitor v1.5
Open issues with duration, int, int64 or integer keywords.
duration
int
int64
integer
TICKscript syntax documatation states that:
But if I try to convert a duration into an integer, I get following error:
So I guess duration should be removed from
int()
function documentation.URL for relevant page?
https://docs.influxdata.com/kapacitor/v1.5/tick/syntax/#working-with-tags-fields-and-variables
What products and version are you using?
Kapacitor v1.5
Where did you look before opening the issue?
Open issues with
duration
,int
,int64
orinteger
keywords.