-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[ja] docs(i18n): content/en/docs/zero-code/java/spring-boot-starter/additional-instrumentations.md #7912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[ja] docs(i18n): content/en/docs/zero-code/java/spring-boot-starter/additional-instrumentations.md #7912
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,35 @@ | ||||||
--- | ||||||
title: 追加の計装 | ||||||
weight: 60 | ||||||
default_lang_commit: 276d7eb3f936deef6487cdd2b1d89822951da6c8 | ||||||
--- | ||||||
|
||||||
OpenTelemetry Spring Boot スターターは、追加の計装で拡張できる[すぐに使える計装](../out-of-the-box-instrumentation)を提供します。 | ||||||
|
||||||
## Log4j2 計装 {#log4j2-instrumentation} | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
`log4j2.xml` ファイルに OpenTelemetry アペンダーを追加する必要があります。 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
```xml | ||||||
<?xml version="1.0" encoding="UTF-8"?> | ||||||
<Configuration status="WARN" packages="io.opentelemetry.instrumentation.log4j.appender.v2_17"> | ||||||
<Appenders> | ||||||
<OpenTelemetry name="OpenTelemetryAppender"/> | ||||||
</Appenders> | ||||||
<Loggers> | ||||||
<Root> | ||||||
<AppenderRef ref="OpenTelemetryAppender" level="All"/> | ||||||
</Root> | ||||||
</Loggers> | ||||||
</Configuration> | ||||||
``` | ||||||
|
||||||
OpenTelemetry アペンダーのその他の設定オプションは、[Log4j](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/log4j/log4j-appender-2.17/library/README.md)計装ライブラリで確認できます。 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
| システムプロパティ | 型 | デフォルト | 説明 | | ||||||
| --------------------------------------------- | ------- | ---------- | ----------------------------------------------------------------------------------- | | ||||||
| `otel.instrumentation.log4j-appender.enabled` | Boolean | true | `OpenTelemetry` インスタンスで Log4j OpenTelemetry アペンダーの設定を有効にします。 | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## 計装ライブラリ {#instrumentation-libraries} | ||||||
|
||||||
[OpenTelemetry 計装ライブラリ](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks)を使用して、その他の計装を設定できます。 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.