apex / apex/up

Ignore active warming for latency alerts

Đang mở
#662 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Feature Request
Ngôn ngữ chính
Go
Star
8.8k
Fork
383
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Prerequisites

* [x] I am running the latest version. (`up upgrade`)
* [x] I searched to see if the issue already exists.
* [x] I inspected the verbose debug output with the `-v, --verbose` flag.
* [x] Are you an Up Pro subscriber?

## Description

Hi, I have active warming enabled:
```
"lambda": {
"memory": 1024,
"runtime": "nodejs8.10",
"warm": true,
"warm_count": 15,
"warm_rate": "15m"
}
```

I also have an alert to notify me about latency > 500ms:
```
{
"metric": "http.latency",
"statistic": "avg",
"threshold": 500,
"period": "5m",
"operator": ">",
"description": "The request latency was higher than 500ms on average in the past 5 minutes."
},
```

How can I prevent the alert from triggering when the active warming Lambda runs? So just let the alert notify me when my actual application has latency issues.

## Love Up?

Yes :)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.