cleanup(storage): remove deprecated OpenTelemetry rpc.message.type and rpc.message.id attributes
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ó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
Hướng nghiên cứu
Xem xét năm tệp được liệt kê trong google/cloud/storage/internal/async/, bắt đầu với các phần triển khai tracing và các bài kiểm thử tương ứng. Tìm các chỗ sử dụng rpc.message.type và rpc.message.id rồi xóa hoặc dọn dẹp chúng, vì issue cho biết các thuộc tính này đã lỗi thời và không có thuộc tính thay thế. Chạy các bài kiểm thử tracing của reader và writer để xác minh hành vi đã cập nhật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Several async Cloud Storage tracing implementations currently record span events with the hardcoded string literals /*sc::kRpcMessageType=*/"rpc.message.type" and /*sc::kRpcMessageId=*/"rpc.message.id".
In OpenTelemetry Semantic Conventions v1.40.0 (introduced in opentelemetry-cpp v1.26.0 in <opentelemetry/semconv/incubating/rpc_attributes.h>), opentelemetry::semconv::rpc::kRpcMessageType and opentelemetry::semconv::rpc::kRpcMessageId were marked OPENTELEMETRY_DEPRECATED with:
"reason": "obsoleted""note": "Deprecated, no replacement at this time."
Because these semantic convention attributes are obsolete upstream with no replacement, we should remove or clean up our usage of "rpc.message.type" and "rpc.message.id" in google/cloud/storage/internal/async/.
Background
- These attributes were originally added/updated as string literals in:
- #14373 (
chore(otel): use newer messaging semantic conventions) - #15078 (
feat(storage): Add bidiread and bidi appendable write to the async client.) - #16118 (
fix(storage): Add telemetry tracing support for async stream Close())
- #14373 (
- Unlike other
/*sc::...=*/string literals across the codebase, we intentionally did not migrate these toopentelemetry::semconv::rpc::kRpcMessageType/kRpcMessageIdbecause doing so triggers-Wdeprecated-declarationscompiler warnings when building againstopentelemetry-cpp >= 1.26.0.
Affected Files
google/cloud/storage/internal/async/object_descriptor_reader_tracing.ccgoogle/cloud/storage/internal/async/reader_connection_tracing.ccgoogle/cloud/storage/internal/async/reader_connection_tracing_test.ccgoogle/cloud/storage/internal/async/writer_connection_tracing.ccgoogle/cloud/storage/internal/async/writer_connection_tracing_test.cc
- Ngôn ngữ chính
- C++
- Star
- 659
- Fork
- 471
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 100
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của googleapis/google-cloud-cpp
-
api: storage priority: p2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
googleapis/google-cloud-cpp#16529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type: feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
googleapis/google-cloud-cpp#16193 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: storage type: cleanup
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
googleapis/google-cloud-cpp#16545 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
api: storage type: cleanup
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
googleapis/google-cloud-cpp#16404 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cpp: generator type: cleanup
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
googleapis/google-cloud-cpp#16394 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của googleapis/google-cloud-cpp
Issue tương tự
-
Status: Awaiting triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
espressif/arduino-esp32#12984 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
torch_ops/logprob.cu does not compile with the serving container's nvcc (13.3.73); check_torch_ops.py cannot run as shippedCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
ashhart/TensorFold#535 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày