Open tomkerkhove opened 3 years ago
Hi @tomkerkhove, Thank you for reaching out to us, checking this internally for the possibilities. We will update you with any information found.
Hi @tomkerkhove, We see that both app settings APPLICATIONINSIGHTS_CONNECTION_STRING and APPINSIGHTS_INSTRUMENTATIONKEY are being used with your app. In this scenario the connection string will take precedence and as discussed at APPLICATIONINSIGHTS_CONNECTION_STRING it will send the data to the endpoints from the connection string. If this is not the expected behavior for your custom container, please configure WEBSITES_ENABLE_APP_SERVICE_STORAGE to false in app settings. Please go through the document here for more information- https://docs.microsoft.com/en-us/azure/app-service/faq-app-service-linux#custom-containers
Let us know if you are able to solve with this information.
Thanks for checking, but the problem is not that it's sending it to the wrong Application Insights instance but rather that it removes information from the telemetry as per the image above.
Hi @tomkerkhove , Thank you for your feedback! We will investigate this further and update as appropriate.
Any update on this @v-bbalaiagar?
Tagging @brettsam for further investigation.
Any update on this?
Is there a reason why people were unassigned @fabiocav?
Check for a solution in the Azure portal
For issues in production, please check for a solution to common issues in the Azure portal before opening a bug. In the Azure portal, navigate to your function app, select
Diagnose and solve problems
from the left, and view relevant dashboards before opening your issue.Investigative information
Please provide the following:
~3
azure-autoscaling-toolbox
(works) &azure-autoscaling-toolbox-repro
(does not work)kubernetes-app-scaled-event
Repro steps
Provide the steps required to reproduce the problem:
I have deployed the same application on 2 Function Apps:
Expected behavior
Provide consistent telemetry
Actual behavior
Custom dimensions are ommitted through some voodoo.
APPLICATIONINSIGHTS_INSTRUMENTATIONKEY
configuration key nameAPPINSIGHTS_INSTRUMENTATIONKEY
configuration key nameKnown workarounds
Use another configuration key than
APPINSIGHTS_INSTRUMENTATIONKEY
.Related information
Provide any related information