Skip to content

Commit c7bb840

Browse files
Merge pull request #297818 from michaelkira/main
Update opentelemetry agent with includeDapr and includeKeda sample
2 parents 295410e + 0c3a411 commit c7bb840

File tree

1 file changed

+57
-1
lines changed

1 file changed

+57
-1
lines changed

articles/container-apps/opentelemetry-agents.md

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Before you deploy this template, replace the `<PLACEHOLDERS>` with your values.
6767
{
6868
...
6969
"properties": {
70-
"appInsightsConfiguration ": {
70+
"appInsightsConfiguration ": {
7171
"connectionString": "<APP_INSIGHTS_CONNECTION_STRING>"
7272
}
7373
"openTelemetryConfiguration": {
@@ -572,6 +572,62 @@ The following example ARM template shows how to use an OTLP endpoint named `cust
572572
}
573573
```
574574

575+
## Export system components OpenTelemetry signals
576+
577+
From the OpenTelemetry API version `2024-08-02-preview`, you can configure your container app environment to export system components OpenTelemetry signals to your data destinations.
578+
579+
Use the following configuration to export Dapr traces and Keda metrics.
580+
581+
### Dapr Traces
582+
583+
The following example ARM template shows how to export Dapr Traces to your traces destinations.
584+
585+
```json
586+
{
587+
...
588+
"properties": {
589+
...
590+
"openTelemetryConfiguration": {
591+
...
592+
"tracesConfiguration": {
593+
"destinations": [
594+
"appInsights",
595+
"customDashboard"
596+
]
597+
"includeDapr": true
598+
}
599+
}
600+
}
601+
}
602+
```
603+
604+
To learn more about how to use Dapr in container apps, see [Dapr Overview](./dapr-overview.md).
605+
606+
### Keda Metrics
607+
608+
The following example ARM template shows how to export Keda metrics to your metrics destinations.
609+
610+
```json
611+
{
612+
...
613+
"properties": {
614+
...
615+
"openTelemetryConfiguration": {
616+
...
617+
"metricsConfiguration": {
618+
"destinations": [
619+
"dataDog",
620+
"customDashboard"
621+
]
622+
"includeKeda": true
623+
}
624+
}
625+
}
626+
}
627+
```
628+
629+
To learn more about KEDA support in Container Apps, see [Set scaling rules](scale-app.md).
630+
575631
## Example OpenTelemetry configuration
576632

577633
The following example template shows how you might configure your container app to collect telemetry data using Azure Monitor Application Insights, Datadog, and with a custom OTLP agent named `customDashboard`.

0 commit comments

Comments
 (0)