You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/configure-monitoring.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Configure monitoring for Azure Functions
3
3
description: Learn how to connect your function app to Application Insights for monitoring and how to configure data collection.
4
4
ms.service: azure-functions
5
5
ms.topic: how-to
6
-
ms.date: 08/06/2024
6
+
ms.date: 05/19/2025
7
7
ms.custom: devdivchpfy22
8
8
9
9
# Customer intent: As a developer, I want to understand how to configure monitoring for my functions correctly, so I can collect the data that I need.
@@ -298,6 +298,7 @@ You can use the [`APPLICATIONINSIGHTS_AUTHENTICATION_STRING`](./functions-app-se
298
298
299
299
>[!NOTE]
300
300
>There's no Entra authentication support for local development.
301
+
>Entra authentication for ingestion using the Application Insights SDK is available exclusively in public clouds. However, OpenTelemetry-based data collection supports Entra authentication across all cloud environments, including sovereign clouds.
301
302
302
303
The value contains either `Authorization=AAD` for a system-assigned managed identity or `ClientId=<YOUR_CLIENT_ID>;Authorization=AAD` for a user-assigned managed identity. The managed identity must already be available to the function app, with an assigned role equivalent to [Monitoring Metrics Publisher](/azure/role-based-access-control/built-in-roles/monitor#monitoring-metrics-publisher). For more information, see [Microsoft Entra authentication for Application Insights](/azure/azure-monitor/app/azure-ad-authentication).
Copy file name to clipboardExpand all lines: articles/azure-functions/dotnet-isolated-process-guide.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Guide for running C# Azure Functions in an isolated worker process
3
3
description: Learn how to use the .NET isolated worker model to run your C# functions in Azure, which lets you run your functions on currently supported versions of .NET and .NET Framework.
4
4
ms.service: azure-functions
5
5
ms.topic: conceptual
6
-
ms.date: 09/05/2024
6
+
ms.date: 05/19/2025
7
7
ms.custom:
8
8
- template-concept
9
9
- devx-track-dotnet
@@ -128,8 +128,7 @@ var builder = FunctionsApplication.CreateBuilder(args);
#CustomerIntent: As a developer, I want to learn how to enable the export of logs and metrics from my function apps by using OpenTelemetry so I can consume and analyze my application telemetry data either in Application Insights or to any OTLP-compliant tools.
@@ -81,7 +81,7 @@ The way that you instrument your application to use OpenTelemetry depends on you
@@ -98,7 +98,7 @@ The way that you instrument your application to use OpenTelemetry depends on you
98
98
### [Application Insights](#tab/app-insights)
99
99
100
100
```csharp
101
-
using Azure.Monitor.OpenTelemetry.AspNetCore;
101
+
using Azure.Monitor.OpenTelemetry.Exporter;
102
102
```
103
103
### [OTLP Exporter](#tab/otlp-export)
104
104
@@ -113,15 +113,15 @@ The way that you instrument your application to use OpenTelemetry depends on you
113
113
114
114
```csharp
115
115
services.AddOpenTelemetry()
116
-
.UseFunctionsWorkerDefaults()
117
-
.UseAzureMonitor();
116
+
.UseAzureMonitorExporter()
117
+
.UseFunctionsWorkerDefaults();
118
118
```
119
119
### [OTLP Exporter](#tab/otlp-export)
120
120
121
121
```csharp
122
122
services.AddOpenTelemetry()
123
-
.UseFunctionsWorkerDefaults()
124
-
.UseOtlpExporter();
123
+
.UseOtlpExporter()
124
+
.UseFunctionsWorkerDefaults();
125
125
```
126
126
---
127
127
@@ -215,6 +215,8 @@ These instructions only apply for an OTLP exporter:
215
215
216
216
::: zone-end
217
217
::: zone pivot="programming-language-python"
218
+
1. Add an application setting named PYTHON_ENABLE_OPENTELEMETRY with value of True.
219
+
218
220
1. Add this entry in your `requirements.txt` file:
219
221
220
222
### [Application Insights](#tab/app-insights)
@@ -278,11 +280,11 @@ These instructions only apply for an OTLP exporter:
278
280
279
281
When you export your data using OpenTelemetry, keep these current considerations in mind.
280
282
281
-
+ When the host is configured to use OpenTelemetry, only logs and traces are exported. Host metrics aren't currently exported.
283
+
+ At this time, only HTTP, Service Bus and Event Hub triggers are supported with OpenTelemetry outputs.
282
284
283
-
+ You can't currently run your app project locally using Core Tools when you have OpenTelemetry enabled in the host. You currently need to deploy your code to Azure to validate your OpenTelemetry-related updates.
285
+
+ When the host is configured to use OpenTelemetry, the Azure portal does not support log streaming or recent function invocation traces.
284
286
285
-
+ At this time, only HTTP trigger and Azure SDK-based triggers are supported with OpenTelemetry outputs.
287
+
+ Azure Functions App Diagnostics - App Diagnostics is a useful resource in the Azure portal for monitoring and diagnosing potential issues. Go to your Function App resource. In the left menu, select **Diagnose and solve problems** and search for “Application Insights Missing Logs”.
Copy file name to clipboardExpand all lines: includes/functions-opentelemetry-preview-note.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,9 @@
2
2
author: ggailey777
3
3
ms.service: azure-functions
4
4
ms.topic: include
5
-
ms.date: 05/17/2024
5
+
ms.date: 05/19/2025
6
6
ms.author: glenga
7
7
---
8
8
> [!IMPORTANT]
9
-
> OpenTelemetry support for Azure Functions is currently in preview.
9
+
> OpenTelemetry support for Azure Functions is currently in preview.
10
+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
0 commit comments