diff --git a/content/ja/docs/languages/go/_index.md b/content/ja/docs/languages/go/_index.md index d6bd7190cdb5..5dd4411e88c4 100644 --- a/content/ja/docs/languages/go/_index.md +++ b/content/ja/docs/languages/go/_index.md @@ -4,8 +4,11 @@ description: >- Go GoにおけるOpenTelemetryの言語固有の実装。 aliases: [/golang, /golang/metrics, /golang/tracing] +redirects: + - { from: /go/*, to: ':splat' } + - { from: /docs/go/*, to: ':splat' } weight: 16 -default_lang_commit: dc174c212e81fadbf8382bb54c54cff294954b1b +default_lang_commit: 68e94a4555606e74c27182b79789d46faf84ec25 --- {{% docs/languages/index-intro go /%}} diff --git a/content/ja/docs/languages/go/instrumentation.md b/content/ja/docs/languages/go/instrumentation.md index ec411211f18a..a8d121be61ca 100644 --- a/content/ja/docs/languages/go/instrumentation.md +++ b/content/ja/docs/languages/go/instrumentation.md @@ -5,7 +5,7 @@ aliases: - manual_instrumentation weight: 30 description: OpenTelemetry Goのマニュアルインストルメンテーション -default_lang_commit: 276d7eb3f936deef6487cdd2b1d89822951da6c8 +default_lang_commit: 68e94a4555606e74c27182b79789d46faf84ec25 cSpell:ignore: fatalf logr logrus otlplog otlploghttp sdktrace sighup --- @@ -93,6 +93,13 @@ func main() { これで`tracer`にアクセスして、コードを手動計装できます。 +{{% alert title="重要" color="warning" %}} + +eBPFベースの[Go ゼロコード計装](/docs/zero-code/go)([OBI](/docs/zero-code/obi)など)と併用して手動スパンを追加する場合は、グローバルトレーサープロバイダーを設定しないでください。 +詳細については、[Auto SDK](/docs/zero-code/go/autosdk)のドキュメントを参照してください。 + +{{% /alert %}} + ### スパンの作成 {#creating-spans} スパンはトレーサーによって作成されます。初期化されていない場合は、それを行う必要があります。