Document audit logging tracing ID support (v1.18.0) (#2287)

* Document audit logging tracing ID support (v1.18.0)

Add a "Tracing IDs" subsection to the Audit Logging section of security.md,
and code snippets for all six client SDKs showing how to attach an
x-request-id header to requests so it appears in audit log entries.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Small edits

* Don't hide imports in Python snippet

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Abdon Pijpelink
2026-04-23 09:44:02 +02:00
committed by GitHub
co-authored by Claude Sonnet 4.6
parent e231339968
commit c4ee144773
16 changed files with 139 additions and 0 deletions
@@ -0,0 +1,6 @@
from qdrant_client import QdrantClient, headers
client = QdrantClient(url="http://localhost:6333") # @hide
with headers({"x-request-id": "my-trace-id"}):
client.get_collections()