Azure-Samples / Azure-Samples/app-templates-java-openai-springapps
Add Azure Application Insights for Spring App
- Ngôn ngữ chính
- Bicep
- Star
- 22
- Fork
- 20
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
> 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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với infra/core/host/spring-apps-consumption.bicep, đặc biệt là các dòng đã được chú thích 41-43 và 93-99. Triển khai template bằng azd up và kiểm tra hành vi khởi động lại của ứng dụng. Hoàn thành khi ứng dụng Spring được triển khai đúng cách với Azure Application Insights đã được cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, java, spring-boot
- Lĩnh vực
- cloud, infrastructure, observability
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100