Spring Boot スターター

Spring Boot アプリケーションを OpenTelemetry で計装するには、2つのオプションを使用できます。

  1. Spring Bootアプリケーションを計装するためのデフォルトの選択肢は、バイトコード計装を使用した OpenTelemetry Java エージェント です。
    • OpenTelemetryスターターよりもすぐに使用できる計装機能
  2. OpenTelemetry Spring Boot スターターは以下の場合に役立ちます。
    • OpenTelemetry Javaエージェントが動作しないSpring Bootネイティブイメージアプリケーション
    • OpenTelemetry Javaエージェントの起動オーバーヘッドが要件を超えている場合
    • OpenTelemetry Javaエージェントが他のエージェントと動作しない可能性があるため、Java 監視エージェントがすでに使用されている場合
    • OpenTelemetry Javaエージェントでは動作しないOpenTelemetry Spring Bootスターターを設定するためのSpring Boot 設定ファイル(application.propertiesapplication.yml)

Getting started

Extending instrumentations with the API

Use the OpenTelemetry API in combination with the Spring Boot starter to extend the automatically generated telemetry with custom spans and metrics

SDK configuration

Out of the box instrumentation

Annotations

Additional instrumentation

Other Spring autoconfiguration