Azure-Samples / Azure-Samples/app-templates-java-openai-springapps

Add Azure Application Insights for Spring App

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
bug src: ai-shopping-cart-service
Dominant language
Bicep
Stars
22
Forks
20
PR merge metrics
No merged PRs in 30d

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

Currently the part of the bicep template to setup Azure Application Insights for the Spring Apps is commented in [spring-apps-consumption.bicep](https://github.com/Azure-Samples/app-templates-java-openai-springapps/blob/e55c580acb67d8edcedc35ee00c196ebb4c2590c/infra/core/host/spring-apps-consumption.bicep) (lines 93 to 99). When deploying the application with Azure Developer CLI or in IntelliJ the deployment fails because the app cannot started.

### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> Uncomment the lines 41-43 and 93-99 in [spring-apps-consumption.bicep](https://github.com/Azure-Samples/app-templates-java-openai-springapps/blob/e55c580acb67d8edcedc35ee00c196ebb4c2590c/infra/core/host/spring-apps-consumption.bicep). Deploy using `azd up`

### Any log messages given by the failure
> In the log the application always restart.

### Expected/desired behavior
> The application is deployed properly

### Versions
> 1.0.0

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.