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

Add Azure Application Insights for Spring App

Aperta
#13 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug src: ai-shopping-cart-service
Lingua principale
Bicep
Stelle
22
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

> 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.