OTel endpoints for Azure Insights cannot set connection string
Serhat Can
0
Reputation points
I have a container apps that want to enable OTel endpoints to push traces to an Azure Insights. I do changes in portal, enabled logs and traces then selected my Azure Insights resource. I see that traces are being generated in the app but not available on Insights. When I check the App Env in Json view, I see that traces and logs are enabled but destinationConfiguration and connectionString values are null.
I have also tried to set it enabled via "az containerapps" cli command, even I give the connectionString it doesn't set it.
Does anyone has a solution for this?
"openTelemetryConfiguration": {
"includeSystemTelemetry": false,
"destinationsConfiguration": null,
"tracesConfiguration": {
"destinations": [
"appInsights"
]
},
"logsConfiguration": {
"destinations": [
"appInsights"
]
},
"metricsConfiguration": null
},
"appInsightsConfiguration": {
"connectionString": null
},
Sign in to answer