Skip to content

Commit 9080c4f

Browse files
Merge pull request #231491 from abinetabate/patch-3
Update monitor-functions.md
2 parents 8cd29ef + 5385226 commit 9080c4f

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,21 @@ For more advanced use cases, you can modify telemetry by adding spans, updating
3333

3434
### Enable distributed tracing for Java function apps
3535

36-
On the function app **Overview** pane, go to **Configuration**. Under **Application settings**, select **New application setting**.
36+
1. **Option 1**: On the function app **Overview** pane, go to **Application Insights**. Under **Collection Level**, select **Recommended**.
3737

38-
> [!div class="mx-imgBorder"]
39-
> ![Screenshot that shows the New application setting option.](./media//functions/create-new-setting.png)
38+
> [!div class="mx-imgBorder"]
39+
> ![Screenshot that shows the how to enable the AppInsights Java Agent.](./media//functions/collection-level.jpg)
4040
41-
Add application settings with the following values and select **Save**.
41+
2. **Option 2**: On the function app **Overview** pane, go to **Configuration**. Under **Application settings**, select **New application setting**.
4242

43-
```
44-
APPLICATIONINSIGHTS_ENABLE_AGENT: true
45-
```
43+
> [!div class="mx-imgBorder"]
44+
> ![Screenshot that shows the New application setting option.](./media//functions/create-new-setting.png)
45+
46+
Add an application setting with the following values and select **Save**.
47+
48+
```
49+
APPLICATIONINSIGHTS_ENABLE_AGENT: true
50+
```
4651
4752
### Troubleshooting
4853

0 commit comments

Comments
 (0)