Consolidating proto/ and common functions into opentelemetry-common/

オープン
#2,170 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
活発
技術スタック
ruby

調査の方向性

まず、opentelemetry-proto、otlp、otlp-metrics、otlp-logs にまたがる proto/ と prepare_endpoint や prepare_headers などの共通ユーティリティの現在の構成を把握します。otlp と otlp-http がどのように構成・保守されているかを確認します。統合、命名、保守に関する告知の方針について合意し、それらが実装され、proto や共通関数の場所が重複していない状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Ruby
スター
613
フォーク
306
平均マージ
3日 11時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

open-telemetry/opentelemetry-ruby のほかの issue

open-telemetry/opentelemetry-ruby の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。