Skip to content

Commit 66bbb84

Browse files
authored
Merge pull request #218640 from ggailey777/insights
Port App Insights content to Functions
2 parents f291552 + f0f6f0c commit 66bbb84

File tree

5 files changed

+42
-86
lines changed

5 files changed

+42
-86
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7018,6 +7018,11 @@
70187018
"redirect_url": "/azure/azure-functions/functions-event-grid-blob-trigger",
70197019
"redirect_document_id": false
70207020
},
7021+
{
7022+
"source_path_from_root": "/articles/azure-monitor/app/azure-functions-supported-features.md",
7023+
"redirect_url": "/azure/azure-functions/functions-monitoring",
7024+
"redirect_document_id": false
7025+
},
70217026
{
70227027
"source_path_from_root": "/articles/azure-government/documentation-government-k8.md",
70237028
"redirect_url": "/azure/azure-government",

articles/azure-functions/configure-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ You can exclude certain types of telemetry from sampling. In this example, data
195195
```
196196
---
197197

198-
For more information, see [Sampling in Application Insights](../azure-monitor/app/sampling.md).
198+
If your project takes a dependency on the Application Insights SDK to do manual telemetry tracking, you may experience strange behavior if your sampling configuration differs from the sampling configuration in your function app. In such cases, use the same sampling configuration as the function app. For more information, see [Sampling in Application Insights](../azure-monitor/app/sampling.md).
199199

200200
## Enable SQL query collection
201201

articles/azure-functions/functions-monitoring.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,36 @@ Typically, you create an Application Insights instance when you create your func
3636
> [!IMPORTANT]
3737
> Sovereign clouds, such as Azure Government, require the use of the Application Insights connection string (`APPLICATIONINSIGHTS_CONNECTION_STRING`) instead of the instrumentation key. To learn more, see the [APPLICATIONINSIGHTS_CONNECTION_STRING reference](functions-app-settings.md#applicationinsights_connection_string).
3838
39+
The following table details the supported features of Application Insights available for monitoring your function apps:
40+
41+
| Azure Functions runtime version | 1.x | 2.x+ |
42+
|-----------------------------------|:---------------:|:------------------:|
43+
| | | |
44+
| **Automatic collection of** | | |
45+
| • Requests |||
46+
| • Exceptions |||
47+
| • Performance Counters |||
48+
| • Dependencies | | |
49+
|    — HTTP | ||
50+
|    — Service Bus| ||
51+
|    — Event Hubs | ||
52+
|    — SQL\* | ||
53+
| | | |
54+
| **Supported features** | | |
55+
| • QuickPulse/LiveMetrics | Yes | Yes |
56+
|    — Secure Control Channel | | Yes |
57+
| • Sampling | Yes | Yes |
58+
| • Heartbeats | | Yes |
59+
| | | |
60+
| **Correlation** | | |
61+
| • Service Bus | | Yes |
62+
| • Event Hubs | | Yes |
63+
| | | |
64+
| **Configurable** | | |
65+
| •[Fully configurable](#custom-telemetry-data) | | Yes |
66+
67+
\* To enable the collection of SQL query string text, see [Enable SQL query collection](./configure-monitoring.md#enable-sql-query-collection).
68+
3969
## Collecting telemetry data
4070

4171
With Application Insights integration enabled, telemetry data is sent to your connected Application Insights instance. This data includes logs generated by the Functions host, traces written from your functions code, and performance data.
@@ -80,6 +110,10 @@ In addition to automatic dependency data collection, you can also use one of the
80110
+ [Log custom telemetry in JavaScript functions](functions-reference-node.md#log-custom-telemetry)
81111
+ [Log custom telemetry in Python functions](functions-reference-python.md#log-custom-telemetry)
82112

113+
### Performance Counters
114+
115+
Automatic collection of Performance Counters isn't supported when running on Linux.
116+
83117
## Writing to logs
84118

85119
The way that you write to logs and the APIs you use depend on the language of your function app project.

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

Lines changed: 0 additions & 83 deletions
This file was deleted.

articles/azure-monitor/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ items:
15291529
- name: Endpoint overrides
15301530
href: app/custom-endpoints.md
15311531
- name: Azure Functions
1532-
href: app/azure-functions-supported-features.md
1532+
href: ../azure-functions/functions-monitoring.md
15331533
- name: Statsbeat
15341534
href: app/statsbeat.md
15351535
- name: Release notes
@@ -1561,7 +1561,7 @@ items:
15611561
- name: Context
15621562
href: app/data-model-context.md
15631563
- name: Integration with Azure Functions
1564-
href: app/azure-functions-supported-features.md
1564+
href: app/azure-functions-supported-features.md?toc=/azure/azure-monitor/toc.json
15651565
- name: Azure PowerShell
15661566
items:
15671567
- name: Azure Monitor

0 commit comments

Comments
 (0)