Grafana에서 Alert을 설정할때
아래 이미지처럼 "No data"로 metrics이 수집이 안되는 경우 보통 Alert이 날아간다.
하지만 경우에 따라 No data인 경우가 정상이고
metrics이 수집되는 경우 비정상인 경우도 필요하다.
이런 경우는 Alert을 설정할때 Configure no data and error handing 부분을 설정해주면
No data인 경우도 Alert을 보내지 않을 수 있다.
Alert을 설정할때 Configure no data and error handing 부분을 클릭하면
Alert state if no data or all values are null 부분이 보통 No Data로 되어있다.
이 설정은 metrics이 아무것도 수집되지 않는 경우 즉 No data로 나올때
No data로 알림을 보내준다는 뜻이다.
이런 경우는 해당 부분을 "OK"로 설정해주면 No data인 경우 Alert이 오지 않게 설정이 가능하다.
'모니터링(Grafana, Prometheus) > Grafana' 카테고리의 다른 글
Grafana Alert silences (0) | 2023.07.26 |
---|---|
Grafana alert or 조건 사용 (0) | 2023.07.26 |
Grafana Alert 설정하기-3(Alert 분기처리) (0) | 2023.05.19 |
Grafana Alert 템플릿 커스텀 및 사용하기 (0) | 2023.05.10 |
Grafana Alert 설정하기-2(Alert 조건 설정) (0) | 2023.05.09 |