Azure-Samples / Azure-Samples/app-templates-java-openai-springapps
Add Azure Application Insights for Spring App
- 主要言語
- Bicep
- スター
- 22
- フォーク
- 20
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
> 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.
コントリビューションガイド
調査の方向性
infra/core/host/spring-apps-consumption.bicep から始め、特にコメントアウトされている 41-43 行目と 93-99 行目を確認します。azd up でテンプレートをデプロイし、アプリケーションの再起動動作を調査します。Azure Application Insights が構成された状態で Spring アプリケーションが正しくデプロイされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, java, spring-boot
- 領域
- cloud, infrastructure, observability
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100