-
Notifications
You must be signed in to change notification settings - Fork 1
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
Krusty93
merged 1 commit into
master
from
SIW-1760-infra-inserire-il-link-del-runbook-nella-descrizione-degli-alert
Oct 30, 2024
Merged
[SIW-1760] Add runbook link to alerts description #261
Krusty93
merged 1 commit into
master
from
SIW-1760-infra-inserire-il-link-del-runbook-nella-descrizione-degli-alert
Oct 30, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
📖 Terraform Plan ('infra/resources/prod') - successTerraform Planmodule.function_apps.module.function_app_user_autoscaler_02.data.azurerm_linux_function_app.this[0]: Still reading... [10s elapsed]
module.function_apps.module.function_app_support_autoscaler.data.azurerm_linux_function_app.this[0]: Still reading... [10s elapsed]
module.function_apps.module.function_app_user_autoscaler_02.data.azurerm_linux_function_app.this[0]: Still reading... [20s elapsed]
module.function_apps.module.function_app_support_autoscaler.data.azurerm_linux_function_app.this[0]: Still reading... [20s 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.cdn.azurerm_monitor_metric_alert.storage_account_low_availability will be updated in-place
~ resource "azurerm_monitor_metric_alert" "storage_account_low_availability" {
~ description = "The average availability is less than 99.8%. Runbook: not needed." -> "The average availability is less than 99.8%. Runbook: https://pagopa.atlassian.net/wiki/spaces/SIW/pages/1311735955/Runbook"
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.Insights/metricAlerts/[iopitnwalletcdnst01] Low Availability"
name = "[iopitnwalletcdnst01] Low Availability"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Wallet"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-wallet/blob/main/infra/resources/prod"
}
# (7 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.cosmos.azurerm_monitor_metric_alert.cosmos_db_provisioned_throughput_exceeded will be updated in-place
~ resource "azurerm_monitor_metric_alert" "cosmos_db_provisioned_throughput_exceeded" {
~ description = "A collection throughput (RU/s) exceed provisioned throughput, and it's raising 429 errors. Please, consider to increase RU. Runbook: not needed." -> "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"
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.Insights/metricAlerts/[io-p-itn-wallet-cosno-01] Provisioned Throughput Exceeded"
name = "[io-p-itn-wallet-cosno-01] Provisioned Throughput Exceeded"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Wallet"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-wallet/blob/main/infra/resources/prod"
}
# (7 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.function_apps.azurerm_monitor_metric_alert.function_app_support_response_time will be updated in-place
~ resource "azurerm_monitor_metric_alert" "function_app_support_response_time" {
~ description = "Slow responses from the Function App. Beware: deployments may slow it down for some minutes. Always check in application insight." -> "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"
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.Insights/metricAlerts/[io-p-itn-wallet-supp-func-01] Slow Response Time"
name = "[io-p-itn-wallet-supp-func-01] Slow Response Time"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Wallet"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-wallet/blob/main/infra/resources/prod"
}
# (7 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.function_apps.azurerm_monitor_metric_alert.function_app_user_response_time will be updated in-place
~ resource "azurerm_monitor_metric_alert" "function_app_user_response_time" {
~ description = "Slow responses from the Function App. Beware: deployments may slow it down for some minutes. Always check in application insight." -> "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"
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.Insights/metricAlerts/[io-p-itn-wallet-user-func-02] Slow Response Time"
name = "[io-p-itn-wallet-user-func-02] Slow Response Time"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Wallet"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-wallet/blob/main/infra/resources/prod"
}
# (7 unchanged attributes hidden)
# (3 unchanged blocks hidden)
}
# module.cosmos.module.wallet_cosmosdb_containers["nonces"].azurerm_cosmosdb_sql_container.this will be updated in-place
~ resource "azurerm_cosmosdb_sql_container" "this" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.DocumentDB/databaseAccounts/io-p-itn-wallet-cosno-01/sqlDatabases/db/containers/nonces"
name = "nonces"
# (6 unchanged attributes hidden)
~ autoscale_settings {
~ max_throughput = 4000 -> 15000
}
# (2 unchanged blocks hidden)
}
# module.cosmos.module.wallet_cosmosdb_containers["wallet-instances"].azurerm_cosmosdb_sql_container.this will be updated in-place
~ resource "azurerm_cosmosdb_sql_container" "this" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.DocumentDB/databaseAccounts/io-p-itn-wallet-cosno-01/sqlDatabases/db/containers/wallet-instances"
name = "wallet-instances"
# (5 unchanged attributes hidden)
~ autoscale_settings {
~ max_throughput = 4000 -> 20000
}
# (2 unchanged blocks hidden)
}
# module.function_apps.module.function_app_user_02.azurerm_linux_function_app.this will be updated in-place
~ resource "azurerm_linux_function_app" "this" {
id = "/subscriptions/ec285037-c673-4f58-b594-d7c480da4e8b/resourceGroups/io-p-itn-wallet-rg-01/providers/Microsoft.Web/sites/io-p-itn-wallet-user-func-02"
name = "io-p-itn-wallet-user-func-02"
tags = {
"CostCenter" = "TS310 - PAGAMENTI & SERVIZI"
"CreatedBy" = "Terraform"
"Environment" = "Prod"
"ManagementTeam" = "IO Wallet"
"Owner" = "IO"
"Source" = "https://github.com/pagopa/io-wallet/blob/main/infra/resources/prod"
}
# (27 unchanged attributes hidden)
~ sticky_settings {
~ app_setting_names = [
"SLOT_TASK_HUBNAME",
- "APPINSIGHTS_INSTRUMENTATIONKEY",
"APPINSIGHTS_SAMPLING_PERCENTAGE",
"AzureFunctionsWebHost__hostid",
- "APPLICATIONINSIGHTS_CONNECTION_STRING ",
- "APPINSIGHTS_PROFILERFEATURE_VERSION",
- "APPINSIGHTS_SNAPSHOTFEATURE_VERSION",
- "ApplicationInsightsAgent_EXTENSION_VERSION",
- "XDT_MicrosoftApplicationInsights_BaseExtensions",
- "DiagnosticServices_EXTENSION_VERSION",
- "InstrumentationEngine_EXTENSION_VERSION",
- "SnapshotDebugger_EXTENSION_VERSION",
- "XDT_MicrosoftApplicationInsights_Mode",
- "XDT_MicrosoftApplicationInsights_PreemptSdk",
- "APPLICATIONINSIGHTS_CONFIGURATION_CONTENT",
- "XDT_MicrosoftApplicationInsightsJava",
- "XDT_MicrosoftApplicationInsights_NodeJS",
]
# (1 unchanged attribute hidden)
}
# (2 unchanged blocks hidden)
}
Plan: 0 to add, 7 to change, 0 to destroy.
─────────────────────────────────────────────────────────────────────────────
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. |
christian-calabrese
approved these changes
Oct 30, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Krusty93
deleted the
SIW-1760-infra-inserire-il-link-del-runbook-nella-descrizione-degli-alert
branch
October 30, 2024 09:10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
List of Changes
Add runbook link to alert descriptions
Motivation and Context
Adding documentation for on call
How Has This Been Tested?
Screenshots (if appropriate):
Checklist: