You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have been experimenting with applying filters to our entire metrics firehose using Kapacitor. The first thing I noticed was that i cannot use User Defined functions on a stream that contains points with boolean fields. It triggers this line to be hit:
For now I have created a patched version of kapacitor so I can work around this issue but I just thought I would bring it up here and I will post any interesting updates or insights related to this issue here.
For now I have simply added a case for bools which does nothing. So the bools will be stripped out rather than crashing kapacitor every time.
The text was updated successfully, but these errors were encountered:
forestjohnsonpeoplenet
changed the title
UDFs panic() when passed a boolean
UDFs panic() when passed a point with a boolean field
Jul 19, 2017
Hello, I have been experimenting with applying filters to our entire metrics firehose using Kapacitor. The first thing I noticed was that i cannot use User Defined functions on a stream that contains points with boolean fields. It triggers this line to be hit:
https://github.com/influxdata/kapacitor/blob/master/udf/server.go#L522
For now I have created a patched version of kapacitor so I can work around this issue but I just thought I would bring it up here and I will post any interesting updates or insights related to this issue here.
For now I have simply added a case for bools which does nothing. So the bools will be stripped out rather than crashing kapacitor every time.
The text was updated successfully, but these errors were encountered: