feat(trace): support external trace id propagation (#22623)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -74,6 +74,12 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
|
||||
タイトルを自動生成します。デフォルトは`true`です。
|
||||
`false`に設定すると、会話のリネームAPIを呼び出し、`auto_generate`を`true`に設定することで非同期タイトル生成を実現できます。
|
||||
</Property>
|
||||
<Property name='trace_id' type='string' key='trace_id'>
|
||||
(オプション)トレースID。既存の業務システムのトレースコンポーネントと連携し、エンドツーエンドの分散トレーシングを実現するために使用します。指定がない場合、システムが自動的に trace_id を生成します。以下の3つの方法で渡すことができ、優先順位は次のとおりです:<br/>
|
||||
- Header:HTTPヘッダー <code>X-Trace-Id</code> で渡す(最優先)。<br/>
|
||||
- クエリパラメータ:URLクエリパラメータ <code>trace_id</code> で渡す。<br/>
|
||||
- リクエストボディ:リクエストボディの <code>trace_id</code> フィールドで渡す(本フィールド)。<br/>
|
||||
</Property>
|
||||
</Properties>
|
||||
|
||||
### 応答
|
||||
|
||||
Reference in New Issue
Block a user