Skip to content

Commit c2ddd94

Browse files
authored
Merge pull request #115972 from MS-jgol/functions-info
Added Azure Functions dedicated page
2 parents dc7ef85 + 4d9131e commit c2ddd94

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

articles/azure-monitor/app/kubernetes-codeless.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Monitor applications on Azure Kubernetes Service (AKS) with Application Insights - Azure Monitor | Microsoft Docs
3-
description: Azure Monitor seamlessly integrates with your application running on Kubernetes, and allows you to monitor you spot the problems with your apps in no time.
3+
description: Azure Monitor seamlessly integrates with your application running on Kubernetes, and allows you to spot the problems with your apps in no time.
44
ms.topic: conceptual
55
author: MS-jgol
66
ms.author: jgol
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Monitor applications running on Azure Functions with Application Insights - Azure Monitor | Microsoft Docs
3+
description: Azure Monitor seamlessly integrates with your application running on Azure Functions, and allows you to monitor the performance and spot the problems with your apps in no time.
4+
ms.topic: conceptual
5+
author: MS-jgol
6+
ms.author: jgol
7+
ms.date: 05/20/2020
8+
9+
---
10+
11+
# Monitoring Azure Functions with Azure Monitor Application Insights
12+
13+
[Azure Functions](https://docs.microsoft.com/azure/azure-functions/functions-overview) offers built-in integration with Azure Application Insights to monitor functions.
14+
15+
Application Insights collects log, performance, and error data, and automatically detects performance anomalies. Application Insights includes powerful analytics tools to help you diagnose issues and to understand how your functions are used. When you have the visibility into your application data, you can continuously improve performance and usability. You can even use Application Insights during local function app project development.
16+
17+
The required Application Insights instrumentation is built into Azure Functions. The only thing you need is a valid instrumentation key to connect your function app to an Application Insights resource. The instrumentation key should be added to your application settings when your function app resource is created in Azure. If your function app doesn't already have this key, you can set it manually. For more information read more about [monitoring Azure Functions](https://docs.microsoft.com/azure/azure-functions/functions-monitoring?tabs=cmd).
18+
19+
## Distributed tracing for Java applications (public preview)
20+
21+
22+
> [!IMPORTANT]
23+
> This feature is currently in public preview for Java Azure Functions. For Consumption plan it has a cold start implication of 8-9 seconds.
24+
25+
If your applications are written in Java you can view richer data from your functions applications, including, requests, dependencies, logs, and metrics. The additional data also lets you see and diagnose end-to-end transactions and see the application map, which aggregates many transactions to show a topological view of how the systems interact, and what the average performance and error rates are.
26+
27+
The end-to-end diagnostics and the application map provide visibility into one single transaction/request. Together these two features are very helpful for finding the root cause of reliability issues and performance bottlenecks on a per request basis.
28+
29+
### How to enable distributed tracing for Java Function apps?
30+
31+
Navigate to the functions app Overview blade, go to configurations. Under Application Settings, click "+ New application setting". Add the following two application settings with below values, then click Save on the upper left. DONE!
32+
33+
```
34+
XDT_MicrosoftApplicationInsights_Java -> 1
35+
ApplicationInsightsAgent_EXTENSION_VERSION -> ~2
36+
```
37+
38+
## Next Steps
39+
40+
* Read more instructions and information about monitoring [Monitoring Azure Functions](https://docs.microsoft.com/azure/azure-functions/functions-monitoring)
41+
* Get an overview of [Distributed Tracing](https://docs.microsoft.com/azure/azure-monitor/app/distributed-tracing)
42+
* See what [Application Map](https://docs.microsoft.com/azure/azure-monitor/app/app-map?tabs=net) can do for your business
43+
* Read about [requests and dependencies for Java apps](https://docs.microsoft.com/azure/azure-monitor/app/java-in-process-agent)
44+
* Learn more about [Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/overview) and [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview)

articles/azure-monitor/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
href: app/cloudservices.md
239239
- name: Azure Functions
240240
displayname: functions, monitor functions, automation
241-
href: ../azure-functions/functions-monitoring.md
241+
href: app/monitor-functions.md
242242
- name: Azure Kubernetes Service
243243
href: app/kubernetes-codeless.md
244244
- name: Standalone - any environment

0 commit comments

Comments
 (0)