Respect OTLP Exporter environment when configuring exporters

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
aws, node.js
領域
cloud

調査の方向性

NodeJS Lambda layer の exporter 設定から始め、issue にリンクされている Node SDK の「Configure exporters from environment」のガイダンスと比較します。OTEL_EXPORTER_OTLP_PROTOCOL と関連する環境変数がどのように処理されるかを確認します。Lambda layer が環境設定に従い、要求された http/protobuf の動作をサポートすれば完了です。

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

説明

enhancement

Is your feature request related to a problem? Please describe.

I made the assumption I could change the exporter config on the NodeJS Lambda layer by setting OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf, however it appears to be hard-coded in the NodeJS Lambda layer to http/json.

Describe the solution you'd like

When using the NodeSDK directly it allows you to configure the exporters from the environment. Naturally, it feels like you should be able to configure the NodeJS OpenTelemetry Lambda layer using similar environment.

The solution I'd propose is respecting the similar environment variables, so that using the NodeJS Lambda layer behaves similarly to using the Node SDK.

主要言語
Go
スター
433
フォーク
249
平均マージ
1日 12時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

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

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

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

似ている issue

Go の issue をもっと見る

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

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