From fc2ba386f19fc5812c8fda23eaf3f466c33e901a Mon Sep 17 00:00:00 2001 From: brown9804 Date: Thu, 4 Dec 2025 16:17:08 -0600 Subject: [PATCH] Update env --- src/a2a/.env_automation | 6 +++--- src/a2a/status_automation.ps1 | 2 +- terraform-infrastructure/main.tf | 10 ++++++---- terraform-infrastructure/provider.tf | 2 +- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/a2a/.env_automation b/src/a2a/.env_automation index b16ef54..270d877 100644 --- a/src/a2a/.env_automation +++ b/src/a2a/.env_automation @@ -4,11 +4,11 @@ A2A_PORT=8001 A2A_LOG_LEVEL=INFO # Base application URL for monitoring -BASE_APP_URL=https://zava-89c29415-app.azurewebsites.net +BASE_APP_URL=https://zava-aa51ac9e-app.azurewebsites.net # Azure monitoring integration -APPLICATION_INSIGHTS_CONNECTION_STRING=InstrumentationKey=db468090-243d-4b9c-8e5a-063f0e5f9ca6;IngestionEndpoint=https://westus3-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus3.livediagnostics.monitor.azure.com/;ApplicationId=f1a5d58e-12b6-4618-a3c9-c9ede48ab925 -LOG_ANALYTICS_WORKSPACE_ID=fcb95690-218c-4e99-a3be-a552f4cf877d +APPLICATION_INSIGHTS_CONNECTION_STRING=InstrumentationKey=67e4c5f2-f4db-4b91-87ed-9dacd39089ae;IngestionEndpoint=https://westus3-1.in.applicationinsights.azure.com/;LiveEndpoint=https://westus3.livediagnostics.monitor.azure.com/;ApplicationId=8d8f42cf-e616-4785-b54f-bfb31224600b +LOG_ANALYTICS_WORKSPACE_ID=120893fa-3dbe-4219-9535-88080316e8ee # Automation features ENABLE_PROCESS_MANAGEMENT=true diff --git a/src/a2a/status_automation.ps1 b/src/a2a/status_automation.ps1 index 9bc6422..d48a9ef 100644 --- a/src/a2a/status_automation.ps1 +++ b/src/a2a/status_automation.ps1 @@ -11,7 +11,7 @@ if () { # Check automation endpoint try { - = Invoke-RestMethod -Uri "https://zava-89c29415-app.azurewebsites.net/a2a/automation/status" -TimeoutSec 5 + = Invoke-RestMethod -Uri "https://zava-aa51ac9e-app.azurewebsites.net/a2a/automation/status" -TimeoutSec 5 Write-Host "Automation Status: " } catch { Write-Host "Automation endpoint not accessible" diff --git a/terraform-infrastructure/main.tf b/terraform-infrastructure/main.tf index c7e77cc..4326941 100644 --- a/terraform-infrastructure/main.tf +++ b/terraform-infrastructure/main.tf @@ -241,17 +241,19 @@ resource "azurerm_application_insights" "appinsights" { application_type = "web" workspace_id = azurerm_log_analytics_workspace.law.id + # Disable billing features to avoid 404 errors + daily_data_cap_in_gb = 1 + daily_data_cap_notifications_disabled = true + sampling_percentage = 100 + lifecycle { ignore_changes = [ tags, - daily_data_cap_in_gb, - daily_data_cap_notifications_disabled, disable_ip_masking, force_customer_storage_for_profiler, internet_ingestion_enabled, internet_query_enabled, - local_authentication_disabled, - sampling_percentage + local_authentication_disabled ] } diff --git a/terraform-infrastructure/provider.tf b/terraform-infrastructure/provider.tf index 6e0742d..c4e645b 100644 --- a/terraform-infrastructure/provider.tf +++ b/terraform-infrastructure/provider.tf @@ -3,7 +3,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "~> 3.100" + version = "~> 3.116" } azapi = { source = "azure/azapi"