Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
d605dbf5
Commit
d605dbf5
authored
Jan 30, 2018
by
Joseph Mulloy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change alarm to per minute for 15 minues OPS-2721
parent
e2a47f2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
util/jenkins/check-celery-queues.py
+3
-5
No files found.
util/jenkins/check-celery-queues.py
View file @
d605dbf5
...
@@ -133,11 +133,9 @@ def check_queues(host, port, environment, deploy, max_metrics, threshold,
...
@@ -133,11 +133,9 @@ def check_queues(host, port, environment, deploy, max_metrics, threshold,
queue_threshold
=
threshold
queue_threshold
=
threshold
if
queue
in
thresholds
:
if
queue
in
thresholds
:
queue_threshold
=
thresholds
[
queue
]
queue_threshold
=
thresholds
[
queue
]
# Period of 300 is 5 minutes
# Period is in seconds
period
=
300
period
=
60
# 6 periods of 5 min each is 30 minutes
evaluation_periods
=
15
# so queue must be over threshold for 30 minutes
evaluation_periods
=
6
comparison_operator
=
"GreaterThanThreshold"
comparison_operator
=
"GreaterThanThreshold"
treat_missing_data
=
"notBreaching"
treat_missing_data
=
"notBreaching"
statistic
=
"Maximum"
statistic
=
"Maximum"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment