fix: set dashboard_path_if_exist to null for alert-only groups
This commit is contained in:
@ -60,7 +60,7 @@ groups = [
|
||||
dashboard_alert_group_name = "Node Alerts"
|
||||
folder_uid = "node"
|
||||
alert_definitions_path = "alerts/node"
|
||||
dashboard_path_if_exist = "dashboards/system"
|
||||
dashboard_path_if_exist = null
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
@ -69,7 +69,7 @@ groups = [
|
||||
dashboard_alert_group_name = "Container Alerts"
|
||||
folder_uid = "containers"
|
||||
alert_definitions_path = "alerts/containers"
|
||||
dashboard_path_if_exist = ""
|
||||
dashboard_path_if_exist = null
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
@ -78,7 +78,7 @@ groups = [
|
||||
dashboard_alert_group_name = "Nginx Alerts"
|
||||
folder_uid = "nginx"
|
||||
alert_definitions_path = "alerts/nginx"
|
||||
dashboard_path_if_exist = ""
|
||||
dashboard_path_if_exist = null
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
@ -87,7 +87,7 @@ groups = [
|
||||
dashboard_alert_group_name = "PostgreSQL Alerts"
|
||||
folder_uid = "postgres"
|
||||
alert_definitions_path = "alerts/postgres"
|
||||
dashboard_path_if_exist = ""
|
||||
dashboard_path_if_exist = null
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
@ -96,7 +96,7 @@ groups = [
|
||||
dashboard_alert_group_name = "Gitea Alerts"
|
||||
folder_uid = "gitea"
|
||||
alert_definitions_path = "alerts/gitea"
|
||||
dashboard_path_if_exist = ""
|
||||
dashboard_path_if_exist = null
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
@ -105,7 +105,7 @@ groups = [
|
||||
dashboard_alert_group_name = "Blackbox Alerts"
|
||||
folder_uid = "blackbox"
|
||||
alert_definitions_path = "alerts/blackbox"
|
||||
dashboard_path_if_exist = ""
|
||||
dashboard_path_if_exist = null
|
||||
keep_manual_changes = false
|
||||
prevent_destroy_on_recreate = false
|
||||
alerts_on_datasources_uid = ["prometheus"]
|
||||
|
||||
Reference in New Issue
Block a user