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
Copy file name to clipboardExpand all lines: articles/container-apps/opentelemetry-agents.md
+111-5Lines changed: 111 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This article shows you how to set up and configure an OpenTelemetry agent for yo
21
21
22
22
## Configure an OpenTelemetry agent
23
23
24
-
OpenTelemetry agents live within your container app environment. You configure agent settings via an ARM template or Bicep calls to the environment, or through the CLI.
24
+
OpenTelemetry agents live within your container app environment. You configure agent settings via an ARM template or Bicep calls to the environment, or through the CLI, or through Terraform (via the [AzAPI provider](https://registry.terraform.io/providers/Azure/azapi/latest/docs)).
25
25
26
26
Each endpoint type (Azure Monitor Application Insights, DataDog, and OTLP) has specific configuration requirements.
27
27
@@ -53,7 +53,7 @@ The following table shows you what type of data you can send to each destination
53
53
54
54
## Azure Monitor Application Insights
55
55
56
-
The only configuration detail required from Application Insights is the connection string. Once you have the connection string, you can configure the agent via your container app's ARM template or with Azure CLI commands.
56
+
The only configuration detail required from Application Insights is the connection string. Once you have the connection string, you can configure the agent via your container app's ARM template, with Azure CLI commands or Terraform.
57
57
58
58
The connection string contains an instrumentation key, which is a unique identifier used to associate telemetry to a specific Application Insights resource. Instrumentation keys aren't security tokens or security keys, and aren't considered secrets.
59
59
@@ -99,6 +99,38 @@ az containerapp env telemetry app-insights set \
99
99
>[!NOTE]
100
100
> Due to the sensitivity of the connection-string, you will not be able to see the detail values of the connection string when the command returns. The system will display it as null.
@@ -205,6 +237,34 @@ az containerapp env telemetry data-dog set \
205
237
>[!NOTE]
206
238
> Due to the sensitivity of the key, you will not be able to see the detail values of the key when the command returns. The system will display it as null.
> Due to the sensitivity of the headers value, you will not be able to see the detail values of the headers value when the command returns. The system will display them as null.
0 commit comments