Skip to content
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

[SIW-1760] Add runbook link to alerts description #261

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infra/resources/_modules/cdn/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "azurerm_monitor_metric_alert" "storage_account_low_availability" {
name = "[${azurerm_storage_account.this.name}] Low Availability"
resource_group_name = var.resource_group_name
scopes = [azurerm_storage_account.this.id]
description = "The average availability is less than 99.8%. Runbook: not needed."
description = "The average availability is less than 99.8%. Runbook: https://pagopa.atlassian.net/wiki/spaces/SIW/pages/1311735955/Runbook"
severity = 0
window_size = "PT5M"
frequency = "PT5M"
Expand Down
2 changes: 1 addition & 1 deletion infra/resources/_modules/cosmos/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "azurerm_monitor_metric_alert" "cosmos_db_provisioned_throughput_exceed
name = "[${azurerm_cosmosdb_account.wallet.name}] Provisioned Throughput Exceeded"
resource_group_name = var.resource_group_name
scopes = [azurerm_cosmosdb_account.wallet.id]
description = "A collection throughput (RU/s) exceed provisioned throughput, and it's raising 429 errors. Please, consider to increase RU. Runbook: not needed."
description = "A collection throughput (RU/s) exceed provisioned throughput, and it's raising 429 errors. Please, consider to increase RU. Runbook: https://pagopa.atlassian.net/wiki/spaces/SIW/pages/1311735955/Runbook"
severity = 0
window_size = "PT5M"
frequency = "PT5M"
Expand Down
4 changes: 2 additions & 2 deletions infra/resources/_modules/function_apps/alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resource "azurerm_monitor_metric_alert" "function_app_user_response_time" {
name = "[${module.function_app_user_02.function_app.function_app.name}] Slow Response Time"
resource_group_name = var.resource_group_name
scopes = [module.function_app_user_02.function_app.function_app.id]
description = "Slow responses from the Function App. Beware: deployments may slow it down for some minutes. Always check in application insight."
description = "Slow responses from the Function App. Beware: deployments may slow it down for some minutes. Always check in application insight. Runbook https://pagopa.atlassian.net/wiki/spaces/SIW/pages/1311735955/Runbook"
severity = 1
frequency = "PT5M"
auto_mitigate = true
Expand Down Expand Up @@ -31,7 +31,7 @@ resource "azurerm_monitor_metric_alert" "function_app_support_response_time" {
name = "[${module.function_app_support.function_app.function_app.name}] Slow Response Time"
resource_group_name = var.resource_group_name
scopes = [module.function_app_support.function_app.function_app.id]
description = "Slow responses from the Function App. Beware: deployments may slow it down for some minutes. Always check in application insight."
description = "Slow responses from the Function App. Beware: deployments may slow it down for some minutes. Always check in application insight. Runbook: https://pagopa.atlassian.net/wiki/spaces/SIW/pages/1311735955/Runbook"
severity = 1
frequency = "PT5M"
auto_mitigate = true
Expand Down
Loading