File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed
Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ # Configure alerts for the synthetic monitoring checks
2+
3+ # NOTE: In VSCode Terraform extension... the linting seems to be broken for this resource.
4+ resource "grafana_synthetic_monitoring_check_alerts" "http_check_alerts" {
5+ check_id = grafana_synthetic_monitoring_check. http . id
6+
7+ alerts = [
8+ {
9+ name = " ProbeFailedExecutionsTooHigh"
10+ threshold = 1
11+ period = " 15m"
12+ },
13+ {
14+ name = " TLSTargetCertificateCloseToExpiring"
15+ threshold = 14
16+ period = " "
17+ },
18+ {
19+ name = " HTTPRequestDurationTooHighAvg"
20+ threshold = 5000
21+ period = " 10m"
22+ }
23+ ]
24+ }
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ terraform {
22 required_providers {
33 grafana = {
44 source = " grafana/grafana"
5- version = " >= 2.9 .0"
5+ version = " >= 4.8 .0"
66 }
77 }
88}
You can’t perform that action at this time.
0 commit comments