Azure / Azure/azure-functions-java-worker

Support configuring log levels/sampling overrides with java app insights agent

Đang mở
#731 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs-discussion needs-investigation reviewed
Ngôn ngữ chính
Java
Star
103
Fork
74
Merge trung bình
4 ngày 8 giờ
Pull request đã merge (30 ngày)
2

Mô tả

When using the [app insights java agent](https://learn.microsoft.com/en-us/azure/azure-monitor/app/monitor-functions), the only known way to configure log levels is by using sampling overrides as described in [these docs](https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-sampling-overrides). However, it's not possible to add an "applicationinsights.json" file next to the agent jar file because it's stored/shipped with the worker, not the app.

[Related IcM](https://portal.microsofticm.com/imp/v3/incidents/details/425099857/home) (internal link only)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Trước tiên, hãy xem xét thiết lập App Insights Java agent và tài liệu về applicationinsights.json và sampling-overrides, đồng thời lưu ý rằng JAR của agent được cung cấp cùng với worker thay vì app. Xác định đường dẫn cấu hình được hỗ trợ cho cấp độ log và các ghi đè sampling. Công việc hoàn tất khi các cài đặt đó có thể được cung cấp trong deployment do worker quản lý này.

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
Lĩnh vực
cloud, observability-sre
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.