Java エージェント

Java でのゼロコード計装は、Java 8+ アプリケーションにアタッチされた Java エージェント JAR を使用します。 多くの一般的なライブラリやフレームワークからテレメトリーをキャプチャするために、動的にバイトコードを注入します。 これは、インバウンドリクエスト、アウトバウンド HTTP コール、データベースコールなど、アプリやサービスの「エッジ」でテレメトリーデータをキャプチャするために使用できます。 サービスやアプリのコードを手動で計装する方法については、手動計装 を参照してください。


Getting started

Configuration

Java Agent Declarative configuration

Supported Libraries

Suppressing specific instrumentation

Annotations

Using instrumentation annotations with a Java agent.

Extending instrumentations with the API

Use the OpenTelemetry API in combination with the Java agent to extend the automatically generated telemetry with custom spans and metrics

Instrumentation configuration

Application server configuration

Learn how to define agent paths for Java application servers

Extensions

Extensions add capabilities to the agent without having to create a separate distribution.

Performance

Performance reference for the OpenTelemetry Java agent