mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
* Grafana Cloud migration, adding dashboards, fleet, alloy and synthetics * modulize stuff now that we have multiple substantial things in here * provider updates and new secrets * remove grafana and prometheus from ansible
72 lines
1.7 KiB
HCL
72 lines
1.7 KiB
HCL
resource "grafana_synthetic_monitoring_check_alerts" "pez_sh" {
|
|
check_id = grafana_synthetic_monitoring_check.pez_sh.id
|
|
alerts = [
|
|
{
|
|
name = "ProbeFailedExecutionsTooHigh"
|
|
threshold = 3
|
|
period = "30m"
|
|
runbook_url = ""
|
|
}
|
|
]
|
|
}
|
|
|
|
resource "grafana_synthetic_monitoring_check_alerts" "pez_solutions" {
|
|
check_id = grafana_synthetic_monitoring_check.pez_solutions.id
|
|
alerts = [
|
|
{
|
|
name = "ProbeFailedExecutionsTooHigh"
|
|
threshold = 3
|
|
period = "30m"
|
|
runbook_url = ""
|
|
}
|
|
]
|
|
}
|
|
|
|
resource "grafana_synthetic_monitoring_check_alerts" "jellyfin" {
|
|
check_id = grafana_synthetic_monitoring_check.jellyfin.id
|
|
alerts = [
|
|
{
|
|
name = "ProbeFailedExecutionsTooHigh"
|
|
threshold = 3
|
|
period = "30m"
|
|
runbook_url = ""
|
|
}
|
|
]
|
|
}
|
|
|
|
resource "grafana_synthetic_monitoring_check_alerts" "plex" {
|
|
check_id = grafana_synthetic_monitoring_check.plex.id
|
|
alerts = [
|
|
{
|
|
name = "ProbeFailedExecutionsTooHigh"
|
|
threshold = 3
|
|
period = "30m"
|
|
runbook_url = ""
|
|
}
|
|
]
|
|
}
|
|
|
|
resource "grafana_synthetic_monitoring_check_alerts" "request" {
|
|
check_id = grafana_synthetic_monitoring_check.request.id
|
|
alerts = [
|
|
{
|
|
name = "ProbeFailedExecutionsTooHigh"
|
|
threshold = 3
|
|
period = "30m"
|
|
runbook_url = ""
|
|
}
|
|
]
|
|
}
|
|
|
|
resource "grafana_synthetic_monitoring_check_alerts" "jellyfin-requests" {
|
|
check_id = grafana_synthetic_monitoring_check.jellyfin-requests.id
|
|
alerts = [
|
|
{
|
|
name = "ProbeFailedExecutionsTooHigh"
|
|
threshold = 3
|
|
period = "30m"
|
|
runbook_url = ""
|
|
}
|
|
]
|
|
}
|
|
|