-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update time_window on ingestion alerts #171
Conversation
|
📖 Terraform Plan ('infra/resources/prod') - successTerraform Planmodule.web_apps.module.citizen_func_autoscaler.data.azurerm_linux_function_app.this[0]: Still reading... [10s elapsed]
module.web_apps.module.etl_func_autoscaler.data.azurerm_linux_function_app.this[0]: Still reading... [10s elapsed]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# module.monitoring.azurerm_monitor_scheduled_query_rules_alert.message-ingestion-alert will be updated in-place
~ resource "azurerm_monitor_scheduled_query_rules_alert" "message-ingestion-alert" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.Insights/scheduledQueryRules/[io-p-itn-com] Message Ingestion Error"
name = "[io-p-itn-com] Message Ingestion Error"
tags = {}
~ time_window = 30 -> 10
# (12 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.monitoring.azurerm_monitor_scheduled_query_rules_alert.message-ingestion-count-collect-alert will be updated in-place
~ resource "azurerm_monitor_scheduled_query_rules_alert" "message-ingestion-count-collect-alert" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.Insights/scheduledQueryRules/[io-p-itn-com] Message Ingestion Count Collection Error"
name = "[io-p-itn-com] Message Ingestion Count Collection Error"
tags = {}
~ time_window = 30 -> 10
# (12 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
# module.monitoring.azurerm_monitor_scheduled_query_rules_alert.message-status-ingestion-alert will be updated in-place
~ resource "azurerm_monitor_scheduled_query_rules_alert" "message-status-ingestion-alert" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-com-rg-01/providers/Microsoft.Insights/scheduledQueryRules/[io-p-itn-com] Message Status Ingestion Error"
name = "[io-p-itn-com] Message Status Ingestion Error"
tags = {}
~ time_window = 30 -> 10
# (12 unchanged attributes hidden)
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 3 to change, 0 to destroy.
Warning: Argument is deprecated
with module.storage_api_weu.azurerm_storage_container.message_content,
on ../_modules/storage_accounts/storage_account_api.tf line 32, in resource "azurerm_storage_container" "message_content":
32: storage_account_name = module.storage_api.name
the `storage_account_name` property has been deprecated in favour of
`storage_account_id` and will be removed in version 5.0 of the Provider.
(and 5 more similar warnings elsewhere)
─────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now. |
Changed the ingestion alerts time windows to match the frequency in order to avoid multiple alerts for a single error