Skip to content

Commit

Permalink
Add queries and thresholds from prod
Browse files Browse the repository at this point in the history
  • Loading branch information
tym-xqo committed Aug 6, 2019
1 parent f0f4fa0 commit 5c8634a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion query_files/avg-active.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
status: clear
status: pause
threshold:
field: avg_duration
gate: 7
Expand Down
2 changes: 1 addition & 1 deletion query_files/long-active.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
status: clear
threshold:
field: duration
gate: 60
gate: 120
---
WITH d AS (
SELECT extract(epoch FROM age(clock_timestamp(), query_start)) AS duration
Expand Down
4 changes: 2 additions & 2 deletions query_files/waits.sql
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
status: failure
status: clear
threshold:
field: duration
gate: 30
gate: 120
---
WITH w AS(
SELECT extract(epoch FROM max(age(clock_timestamp(), query_start))) AS duration,
Expand Down

0 comments on commit 5c8634a

Please sign in to comment.