diff --git a/content/ja/docs/zero-code/java/spring-boot-starter/additional-instrumentations.md b/content/ja/docs/zero-code/java/spring-boot-starter/additional-instrumentations.md new file mode 100644 index 000000000000..9b59d6ac7c46 --- /dev/null +++ b/content/ja/docs/zero-code/java/spring-boot-starter/additional-instrumentations.md @@ -0,0 +1,35 @@ +--- +title: 追加の計装 +weight: 60 +default_lang_commit: 276d7eb3f936deef6487cdd2b1d89822951da6c8 +--- + +OpenTelemetry Spring Boot スターターは、追加の計装で拡張できる[すぐに使える計装](../out-of-the-box-instrumentation)を提供します。 + +## Log4j2 計装 {#log4j2-instrumentation} + +`log4j2.xml` ファイルに OpenTelemetry アペンダーを追加する必要があります。 + +```xml + + + + + + + + + + + +``` + +OpenTelemetry アペンダーのその他の設定オプションは、[Log4j](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/log4j/log4j-appender-2.17/library/README.md)計装ライブラリで確認できます。 + +| システムプロパティ | 型 | デフォルト | 説明 | +| --------------------------------------------- | ------- | ---------- | ----------------------------------------------------------------------------------- | +| `otel.instrumentation.log4j-appender.enabled` | Boolean | true | `OpenTelemetry` インスタンスで Log4j OpenTelemetry アペンダーの設定を有効にします。 | + +## 計装ライブラリ {#instrumentation-libraries} + +[OpenTelemetry 計装ライブラリ](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks)を使用して、その他の計装を設定できます。