https://github.com/gravitational/monitoring-app/blob/master/...
I looked at flux, and it seems pretty compatible with TICK script, although I don't have a clear understanding on how to make it easy to write alerts/queries and debug them yet.
I would be curious to try out REPL:
> We plan to provide a flux command line program that exposes a REPL and talks to various data sources.
Especially interested to see how easy it would be to edit and troubleshoot a multi-line transformation query like this one in it:
cpu = data
// only get the last 5m of data
|> range(start: -5m)
// only get the "usage_user" data from the _measurement "cpu"
|> filter(fn: (r) => r._measurement == "cpu" and r._field == "usage_user")
Why create a new language vs using javascript or lua?e.g. your flux example above could have been just:
let cpu = data.range({start: "-5m"}).filter(func(r){return r.measurement == "cpu" && r.field == "usage_user"})
Is there any specific feature of flux that requires a new language? I read your blog post here:https://www.influxdata.com/blog/why-were-building-flux-a-new...
and it brings some valid points on Flux vs SQL, however I would be interested how would it compare as Flux vs Javascript or Flux vs Lua :)