prometheus / prometheus/client_java

Implement Otel Translation Strategies per spec

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

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

主要言語
Java
スター
2.3k
フォーク
833
平均マージ
2日 16時間
マージ済み PR(30日)
86

説明

ref: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/prometheus.md#configuration

This will allow java users to enable NoTranslation mode for 1:1 otel metric names, if they so choose.

per the discussion on CNCF Slack, when we add documentation for this feature we should make sure to point out that modes without suffixes are technically in violation of the Open Metrics specification and may lead to unpredictable results. Example text for other warnings: https://github.com/prometheus/otlptranslator/blob/main/strategy.go#L25-L60

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

リンクされている OpenTelemetry Prometheus 設定セクションから始め、その変換戦略を prometheus/otlptranslator/strategy.go の警告例と比較します。Java メトリクスの変換エントリポイントとテストを見つけ、ユーザーが NoTranslation を選択できること、およびドキュメントでサフィックスなしモードに対する Open Metrics 互換性の警告が説明されていることを確認します。

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

評価

技術スタック
java
領域
observability-sre
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

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

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