Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TICK numerical variable definition #107

Closed
miili opened this issue Dec 18, 2015 · 1 comment
Closed

TICK numerical variable definition #107

miili opened this issue Dec 18, 2015 · 1 comment

Comments

@miili
Copy link

miili commented Dec 18, 2015

Defining variables in TICK works for objects but numerical variables, useful for eg. thresholds, do not work.

Is there a plan to implement file global definitions of numerical variables?

@nathanielc
Copy link
Contributor

So something like this?

var cpuThreshold = 10.0

stream.from()....
   .alert()
       .crit(lambda: "value" > cpuThreshold)

Yes, I plan to support this kind of behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants