diff --git a/docs/gen-ai/gen-ai-spans.md b/docs/gen-ai/gen-ai-spans.md index 4e1b321bfb..c4e10aaa7f 100644 --- a/docs/gen-ai/gen-ai-spans.md +++ b/docs/gen-ai/gen-ai-spans.md @@ -398,14 +398,18 @@ Function: A tool executed on the client-side, where the agent generates paramete Client-side operations are actions taken on the user's end or within the client application. Datastore: A tool used by the agent to access and query structured or unstructured external data for retrieval-augmented tasks or knowledge updates. -**[4] `gen_ai.tool.call.arguments`:** > [!WARNING] +**[4] `gen_ai.tool.call.arguments`:** + +> [!WARNING] > This attribute may contain sensitive information. It's expected to be an object - in case a serialized string is available to the instrumentation, the instrumentation SHOULD do the best effort to deserialize it to an object. When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise. -**[5] `gen_ai.tool.call.result`:** > [!WARNING] +**[5] `gen_ai.tool.call.result`:** + +> [!WARNING] > This attribute may contain sensitive information. It's expected to be an object - in case a serialized string is available diff --git a/docs/registry/attributes/gen-ai.md b/docs/registry/attributes/gen-ai.md index 02cb5c1c2f..34a73fa908 100644 --- a/docs/registry/attributes/gen-ai.md +++ b/docs/registry/attributes/gen-ai.md @@ -143,14 +143,18 @@ system instructions. See [Recording content on attributes](/docs/gen-ai/gen-ai-spans.md#recording-content-on-attributes) section for more details. -**[10] `gen_ai.tool.call.arguments`:** > [!WARNING] +**[10] `gen_ai.tool.call.arguments`:** + +> [!WARNING] > This attribute may contain sensitive information. It's expected to be an object - in case a serialized string is available to the instrumentation, the instrumentation SHOULD do the best effort to deserialize it to an object. When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise. -**[11] `gen_ai.tool.call.result`:** > [!WARNING] +**[11] `gen_ai.tool.call.result`:** + +> [!WARNING] > This attribute may contain sensitive information. It's expected to be an object - in case a serialized string is available diff --git a/model/gen-ai/registry.yaml b/model/gen-ai/registry.yaml index 8b3fa51dd4..18d094a468 100644 --- a/model/gen-ai/registry.yaml +++ b/model/gen-ai/registry.yaml @@ -261,6 +261,8 @@ groups: type: any brief: Parameters passed to the tool call. note: | + + > [!WARNING] > This attribute may contain sensitive information. @@ -279,6 +281,8 @@ groups: type: any brief: The result returned by the tool call (if any and if execution was successful). note: | + + > [!WARNING] > This attribute may contain sensitive information.