-
Notifications
You must be signed in to change notification settings - Fork 195
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
Key Vault not displayed on Azure Container Apps / AppInsight Application Map #2699
Comments
@trask could you please have a look ? |
@ezYakaEagle442 I wasn't able to reproduce the issue with 3.4.1, but I was able to reproduce the issue with 3.4.6, can you double check the version you are using in ACA? #2787 fixes this regression, can you test with the SNAPSHOT build from that PR to confirm it resolves the same issue you are seeing? https://github.com/microsoft/ApplicationInsights-Java/suites/9800980771/artifacts/471519944 |
https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv/blob/main/docker/petclinic-vets-service/Dockerfile#L13 shows last time I used version 3.4.4, I will test locally with that snapshot, thank you. Do you have an ETA for 3.4.7 release please ? |
currently aiming for Wednesday of this week |
See #2699 Co-authored-by: github-actions[bot] <github-action[bot]@users.noreply.github.com>
3.4.7 is now released: https://github.com/microsoft/ApplicationInsights-Java/releases |
Expected behavior
I deploy several Java Spring Boot micro services to ACA, I successfully see the AppInsight Application Map including Azure DB MySQL, all micro services, the Config-Server and 1 external akamai site but NOT Key Vault.
Actual behavior
Key Vault should be displayed on the Map as each micro service back-end (not the API gateway) read a password secret from KV to connect to the DB.
To Reproduce
Steps to reproduce the behavior:
https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv
Sample Application
If applicable, provide a sample application which reproduces the issue:
https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv
System information
Please provide the following information:
See the POM at https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv/blob/main/pom.xml :
Dockerfile example at https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv/blob/main/docker/petclinic-customers-service/Dockerfile
see also Bicep overiding the Docker command at https://github.com/ezYakaEagle442/aca-java-petclinic-mic-srv/blob/main/iac/bicep/modules/aca/apps/aca-svc.bicep#189
Logs
Turn on SDK logs and attach/paste them to the issue. If using an application server, also attach any relevant server logs.
Be sure to remove any private information from the logs before posting!
Kusto Query:
ContainerAppConsoleLogs_CL
| where Log_s contains "Application Insights"
| project c, AppName=ContainerAppName_s ,Revision=RevisionName_s, Message=Log_s
| sort by Time desc
aca-petcliaca-appinsights.log
Screenshots
N/A
See also microsoft/azure-container-apps#290
Note: this issue does NOT happen with Azure Spring Apps / AppInsight Application Map
See my project at https://github.com/ezYakaEagle442/azure-spring-apps-petclinic-mic-srv
The text was updated successfully, but these errors were encountered: