-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Insights cant be turned off when using Azure Container Apps #2281
Comments
Did you also change azure.yaml to deploy to app service? |
I did replicate this issue with container apps deployment, by the way. It's related to a known issue with Bicep for container apps. I'm trying to see if there's a workaround. For App Service deployment, you also need to change azure.yaml, as we can't switch to appservice with only env variables, unfortunately. |
I did not attempt deploying the app service version. That is commented out on the main branch 🙂 |
Great news, good to know! Thanks so much. The container app seems to load lightning fast compared to the app service version a couple of months ago. What are the pros and cons of each? |
As you observe, containerapps is a much faster deployment, which is why we now default to it. The disadvantages of ACA:
I think I know how to get container apps working without analytics, I'll try it later today. |
I have yet to come up with a good workaround for container apps with no analytics, am discussing with some teams. |
Thanks so much for this comparison info! And as well for working on the analytics conflict. Your support is truly appreciated |
@pamelafox also, in the readme, in the low cost section, where it says:
Please add a highlighted note stating that application insights must be turned on if container apps is active Thanks! |
@solrac149 Adding a note here: Please comment if you have suggested wording improvements. The Log Analytics costs is $0.00 for my test apps, so it should be very low cost for a trial deployment, assuming low users. |
Free Tier is broken
Issue
The origin/main branch fails to deploy, last tested on commit a967edf. No change to any files. Deploying to a personal Azure account with no custom configurations, no other deployments or apps. That is, attempting to deploy an unmodified, factory version of this project to a barebones personal Azure account
Environment Setup
The following commands were run to set the free tier:
PROBLEM TRIGGER
The line
azd env set AZURE_USE_APPLICATION_INSIGHTS false
is what causes the failed deployment. By removing this environment variable, the application deploys successfully.ERROR OUTPUT
EXPECTED BEHAVIOR / SOLUTION
It should be possible to disable Application Insights, an optional, paid monitoring product, and deploy the fully zero-cost configuration of the demo.
The text was updated successfully, but these errors were encountered: