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
The Azure Application Insights Agent Framework causes an application to be automatically configured to work with a bound [Azure Application Insights Service][]. **Note:** This framework is disabled by default.
3
+
4
+
<table>
5
+
<tr>
6
+
<td><strong>Detection Criterion</strong></td><td>Existence of a single bound Azure Application Insights service.
7
+
<ul>
8
+
<li>Existence of a Azure Application Insights service is defined as the <a href="http://docs.cloudfoundry.org/devguide/deploy-apps/environment-variable.html#VCAP-SERVICES"><code>VCAP_SERVICES</code></a> payload containing a service who's name, label or tag has <code>azure-application-insights</code> as a substring with at least `connection_string` or `instrumentation_key` set as credentials.</li>
Tags are printed to standard output by the buildpack detect script
18
+
19
+
## User-Provided Service
20
+
Users must provide their own Azure Application Insights service. A user-provided Azure Application Insights service must have a name or tag with `azure-application-insights` in it so that the Azure Application Insights Agent Framework Framework will automatically configure the application to work with the service.
21
+
22
+
The credential payload of the service has to contain one of the following entries:
23
+
24
+
| Name | Description
25
+
| ---- | -----------
26
+
| `connection_string` | With agent version 3.x the connection string is required. You can find your connection string in your Application Insights resource.
27
+
| `instrumentation_key` | With agent version 2.x the instrumentation key is required. With version 3.x this configuration is deprecated an it is recommended to switch to a connection string. You can find your instrumentation key in your Application Insights resource.
28
+
29
+
## Configuration
30
+
For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].
31
+
32
+
[Configuration and Extension]: ../README.md#configuration-and-extension
0 commit comments