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

策略表达式如何配置 #11

Open
lustlost opened this issue May 25, 2015 · 4 comments
Open

策略表达式如何配置 #11

lustlost opened this issue May 25, 2015 · 4 comments

Comments

@lustlost
Copy link

策略表达式if后面可以使用哪些函数?如何使用等等

@UlricQin
Copy link

参考这个:https://github.com/open-falcon/judge/blob/master/store/func.go#L210
#代表的是针对最近几个点,比如

  • all(#3)表示最近3个点都达到阈值就报警
  • sum(#3)表示最近3个点的和达到阈值就报警
  • avg(#3)表示最近3个点的平均值达到阈值就报警

@lustlost
Copy link
Author

pdiff 和diff有什么区别吗

@laiwei
Copy link
Contributor

laiwei commented May 26, 2015

Pdiff 表示变化率

diff 表示变化的绝对值

@yuzhuo
Copy link

yuzhuo commented Mar 22, 2017

pdiff < -10 这样配可以吗

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

4 participants