Consolidating proto/ and common functions into opentelemetry-common/

Đang mở
#2,170 9 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 2 ngày

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
ruby

Hướng nghiên cứu

Bắt đầu bằng cách lập sơ đồ cấu trúc hiện tại của proto/ và các tiện ích dùng chung như prepare_endpoint và prepare_headers trong opentelemetry-proto, otlp, otlp-metrics và otlp-logs. Xem xét cách otlp và otlp-http được tổ chức và duy trì. Công việc được xem là hoàn tất khi các quyết định về hợp nhất, đặt tên và thông báo bảo trì đã được thống nhất và triển khai, không còn các vị trí trùng lặp cho proto hoặc các hàm dùng chung.

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

Mô tả

enhancement

Propose to move proto/ and common functions into opentelemetry-common/ so that otlp, otlp-metrics, and otlp-logs exporters
can use the centralized utilities.

  1. Current opentelemetry-proto is v1.10, while our proto is still v1.8.0. Centralizing proto to common avoids managing three separate proto/ folders.
  2. There are common utilities such as prepare_endpoint, prepare_headers, etc. Consolidating them together prevents issues like https://github.com/open-telemetry/opentelemetry-ruby/pull/2158.

Other things to consider:
otlp and otlp-http are confusing—people may check otlp-http rather than otlp, and otlp-http still needs to be updated if other otlp exporters change.

  1. Rename otlp → otlp-trace (similar to otlp-metrics and otlp-logs); if gRPC support is added in the future, consider adding the gRPC exporter inside otlp-trace/.
  2. Add a notice that otlp-http is not maintained and redirect users to otlp.
Ngôn ngữ chính
Ruby
Star
613
Fork
306
Merge trung bình
3 ngày 11 giờ
Pull request đã merge (30 ngày)
21

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

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 open-telemetry/opentelemetry-ruby

Tất cả issue của open-telemetry/opentelemetry-ruby

Issue tương tự

Thêm issue về Ruby

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.