Skip to content

Commit f10e871

Browse files
Merge pull request #281920 from AaronMaxwell/aaronmax-update-monitor-functions
Moving 123838 to azure-docs-pr
2 parents 0e6a352 + ad27944 commit f10e871

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/azure-monitor/app/monitor-functions.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Monitor applications running on Azure Functions with Application Insights
33
description: Azure Monitor integrates with your Azure Functions application, allowing performance monitoring and quickly identifying problems.
44
ms.topic: conceptual
55
ms.custom: devx-track-extended-java, devx-track-python, devx-track-js
6-
ms.date: 07/10/2023
6+
ms.date: 08/24/2024
77
ms.reviewer: abinetabate
88
---
99

@@ -37,6 +37,14 @@ On the function app **Overview** pane, go to **Application Insights**. Under **C
3737
> [!div class="mx-imgBorder"]
3838
:::image type="content" source="./media//functions/collection-level.jpg" lightbox="./media//functions/collection-level.jpg" alt-text="Screenshot that shows the how to enable the AppInsights Java Agent.":::
3939

40+
### Configuration
41+
42+
To configure this feature for an Azure Function App not on a consumption plan, add environment variables in App settings. To review available configurations, see [Configuration options: Azure Monitor Application Insights for Java](../app/java-standalone-config.md).
43+
44+
For Azure Functions on a consumption plan, the available configuration options are limited to WEBSITE_SITE_NAME, APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL, and APPLICATIONINSIGHTS_SELF_DIAGNOSTICS_LEVEL in order to take advantage of the consumption plan warmup pool. For more configurations on a consumption plan Function, deploy your own agent and see [Distributed Tracing for Java Functions](https://github.com/Azure/azure-functions-java-worker/wiki/Distributed-Tracing-for-Java-Azure-Functions#customize-distribute-agent).
45+
46+
Deploying your own agent results in a longer cold start implication for consumption plan Functions.
47+
4048
### Troubleshooting
4149

4250
Your Java functions might have slow startup times if you adopted this feature before February 2023. From the function app **Overview** pane, go to **Configuration** in the left-hand side navigation menu. Then select **Application settings** and use the following steps to fix the issue.
@@ -146,7 +154,7 @@ To view more data from your Node Azure Functions applications than is [collected
146154

147155
## Distributed tracing for Python function apps
148156

149-
To collect telemetry from services such as Requests, urllib3, httpx, PsycoPG2, and more, use the [Azure Monitor OpenTelemetry Distro](./opentelemetry-enable.md?tabs=python). Tracked incoming requests coming into your Python application hosted in Azure Functions will not be automatically correlated with telemetry being tracked within it. You can manually achieve trace correlation by extract the TraceContext directly as shown below:
157+
To collect telemetry from services such as Requests, urllib3, `httpx`, PsycoPG2, and more, use the [Azure Monitor OpenTelemetry Distro](./opentelemetry-enable.md?tabs=python). Tracked incoming requests coming into your Python application hosted in Azure Functions aren't automatically correlated with telemetry being tracked within it. You can manually achieve trace correlation by extracting the TraceContext directly as follows:
150158

151159
<!-- TODO: Remove after Azure Functions implements this automatically -->
152160

0 commit comments

Comments
 (0)