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
+4-2Lines changed: 4 additions & 2 deletions
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.
@@ -297,7 +297,9 @@ When you create your function app in the [Azure portal](./functions-get-started.
297
297
You can use the [`APPLICATIONINSIGHTS_AUTHENTICATION_STRING`](./functions-app-settings.md#applicationinsights_authentication_string) setting to enable connections to Application Insights using Microsoft Entra authentication. This creates a consistent authentication experience across all Application Insights pipelines, including Profiler and Snapshot Debugger, as well as from the Functions host and language-specific agents.
298
298
299
299
>[!NOTE]
300
-
>There's no Entra authentication support for local development.
300
+
>There's currently no Microsoft Entra ID authentication support for local development.
301
+
>
302
+
>When Ingesting data in a sovereign cloud, Microsoft Entra ID authentication isn't available when using the Application Insights SDK. OpenTelemetry-based data collection supports Microsoft Entra ID authentication across all cloud environments, including sovereign clouds.
301
303
302
304
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,21 @@ 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.
284
+
285
+
+ When the host is configured to use OpenTelemetry, the Azure portal doesn't support log streaming or recent function invocation traces.
286
+
287
+
+ [Azure Functions diagnostics](functions-diagnostics.md) in the Azure portal is a useful resource for detecting and diagnosing potential monitoring-related issues.
282
288
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.
289
+
To access diagnostics in your app:
284
290
285
-
+ At this time, only HTTP trigger and Azure SDK-based triggers are supported with OpenTelemetry outputs.
291
+
1. In the [Azure portal](https://portal.azure.com) navigate to your function app resource.
292
+
293
+
1. In the left pane, select **Diagnose and solve problems** and search for the *Function App missing telemetry Application Insights or OpenTelemetry* workflow.
294
+
295
+
1. Select this workflow, choose your ingestion method, and select **Next**.
296
+
297
+
1. Review the guidelines and any recommendations provided by the troubleshooter.
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 not yet generally available.
0 commit comments