java jni invoke tracing

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, java
領域
observability

調査の方向性

リポジトリのファイル、テスト、エントリポイントのいずれも名前が挙げられていないため、まず Java JNI と C++ の tracing integration ドキュメントを探してください。完了には、trace ID と span ID を手動で渡さずに Java と C++ の spans を関連付ける、文書化されたサポート対象の方法が必要です。

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

説明

What are you trying to achieve?

I have a doubt now. Suppose I use jni in a Java program to call a c++ sdk written by myself. At the same time, the relevant opentelemetry SDK is connected to the Java application and C++ SDK to report trace data. How can I combine the span generated in the Java program with the span generated in the C++ program? I don't really want to use the method of passing parameters to transparently pass the traceId and spanId generated in the Java program to the c++ sdk. Is there any other way?

Additional context.

Add any other context about the problem here. If you followed an existing documentation, please share the link to it.

主要言語
Java
スター
2.5k
フォーク
1.1k
平均マージ
5日 11時間
マージ済み PR(30日)
41

環境構築

はじめの一歩

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

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

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

似ている issue

Java の issue をもっと見る

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

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