From 7f56178d36be8c817a4deb93358cf9a2a2b1d729 Mon Sep 17 00:00:00 2001 From: Michael Dai Date: Fri, 26 Jul 2024 11:11:06 +0800 Subject: [PATCH 1/2] Add includeDapr in traces and include keda in metrics --- .../preview/2024-08-02-preview/ManagedEnvironments.json | 8 ++++++++ .../examples/ManagedEnvironments_CreateOrUpdate.json | 2 ++ 2 files changed, 10 insertions(+) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json index 2efd689e49d3..0904824c0c7e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json @@ -1448,6 +1448,10 @@ "description": "Configuration of Open Telemetry traces", "type": "object", "properties": { + "includeDapr": { + "type": "boolean", + "description": "Boolean indicating if including dapr traces" + }, "destinations": { "description": "Open telemetry traces destinations", "type": "array", @@ -1474,6 +1478,10 @@ "description": "Configuration of Open Telemetry metrics", "type": "object", "properties": { + "includeKeda": { + "type": "boolean", + "description": "Boolean indicating if including keda metrics" + }, "destinations": { "description": "Open telemetry metrics destinations", "type": "array", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json index 3be81722b274..ebb0ef2c934c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json @@ -45,6 +45,7 @@ ] }, "tracesConfiguration": { + "includeDapr": true, "destinations": [ "appInsights" ] @@ -55,6 +56,7 @@ ] }, "metricsConfiguration": { + "includeKeda": true, "destinations": [ "dataDog" ] From 0ae375bf287f4cb013cc17bdf0a47b1965fc655b Mon Sep 17 00:00:00 2001 From: Michael Dai Date: Fri, 26 Jul 2024 11:22:40 +0800 Subject: [PATCH 2/2] pretty --- .../preview/2024-08-02-preview/ManagedEnvironments.json | 1 - .../examples/ManagedEnvironments_CreateOrUpdate.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json index 0904824c0c7e..22c3d2e00391 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/ManagedEnvironments.json @@ -1921,4 +1921,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json index ebb0ef2c934c..2c95bbe8d989 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ManagedEnvironments_CreateOrUpdate.json @@ -318,4 +318,3 @@ } } } -