Commit 5d3b8bfc authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Merge branch 'bug/99' into 'master'

Moved diagnostics back to all metrics for AKS and Postgres

See merge request osdu/platform/deployment-and-operations/infra-azure-provisioning!178
parents e5afacf1 d60f2a89
......@@ -169,7 +169,7 @@ resource "azurerm_monitor_diagnostic_setting" "aks_diagnostics" {
}
metric {
category = "API Server (PREVIEW)"
category = "AllMetrics"
retention_policy {
days = var.log_retention_days
......@@ -213,36 +213,8 @@ resource "azurerm_monitor_diagnostic_setting" "postgres_diagnostics" {
}
}
metric {
category = "Errors"
retention_policy {
days = var.log_retention_days
enabled = local.retention_policy
}
}
metric {
category = "Latency"
retention_policy {
days = var.log_retention_days
enabled = local.retention_policy
}
}
metric {
category = "Saturation"
retention_policy {
days = var.log_retention_days
enabled = local.retention_policy
}
}
metric {
category = "Traffic"
category = "AllMetrics"
retention_policy {
days = var.log_retention_days
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment