OtlpTracer: record exceptions as log records instead of span events (semconv v1.40+)

Đang mở
#10,056 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
47/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript

Hướng nghiên cứu

Start by locating OtlpTracer and the existing OTLP logger in the Effect repository; the issue does not name specific files or tests. Read the exception span and log semantic convention guidance linked in the issue, then trace how failures and successful span statuses are recorded. Done means exception log records follow the suggested opt-in behavior and successful spans leave status unset when no failure occurred.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

OtlpTracer records failures as exception span events, but semconv deprecated exceptions-as-span-events in v1.40 in favour of exception log records (exceptions-spans, exceptions-logs). the suggested migration is an OTEL_SEMCONV_EXCEPTION_SIGNAL_OPT_IN=logs|logs/dup switch, which the OTLP logger could serve since effect already ships one.

related: successful spans get status Ok, but recording-errors says instrumentation must leave it unset when nothing failed.

Ngôn ngữ chính
TypeScript
Star
16.7k
Fork
808
Merge trung bình
10 giờ 21 phút
Pull request đã merge (30 ngày)
834

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Effect-TS/effect

Tất cả issue của Effect-TS/effect

Issue tương tự

Thêm issue về TypeScript

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.