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

Rule: increase for value from 1m to 5m. #20

Merged
merged 2 commits into from
Nov 11, 2019
Merged

Rule: increase for value from 1m to 5m. #20

merged 2 commits into from
Nov 11, 2019

Conversation

qiffang
Copy link
Contributor

@qiffang qiffang commented Nov 11, 2019

Background
The optional for clause causes Prometheus to wait for a certain duration between first encountering a new expression output vector element and counting an alert as firing for this element.
Currently, tidb rules use 1m to evaluate alert. But it will generate false alert when the environment jitter.
So we should increase this value from 1m to 5m.

@tennix
Copy link
Member

tennix commented Nov 11, 2019

In cloud environment, as #19 states the disk latency is not as stable as physical machine. So the disk related alerts should all increased to 5m.

@qiffang
Copy link
Contributor Author

qiffang commented Nov 11, 2019

In cloud environment, as #19 states the disk latency is not as stable as physical machine. So the disk related alerts should all increased to 5m.

All alerts are increased to 5m.

Copy link
Member

@tennix tennix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qiffang qiffang merged commit 72d6aa3 into master Nov 11, 2019
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

Successfully merging this pull request may close these issues.

2 participants