perf: Exclude vector-sync status polling from distributed tracing

Skip tracing for /app/vector-sync/status to reduce noise from HTMX polling.
Metrics collection continues for this endpoint.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2025-11-15 05:19:35 +01:00
co-authored by Claude
parent 2b35dd729f
commit e3153822f7
6 changed files with 136 additions and 62 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ async def get_indexed_doc_types(user_id: str) -> set[str]:
settings = get_settings()
qdrant_client = await get_qdrant_client()
collection = settings.qdrant_collection
collection = settings.get_collection_name()
# Use scroll to sample documents and extract doc_types
# Note: This could be optimized with a facet/aggregation query if Qdrant adds support