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
+1 -1
View File
@@ -85,7 +85,7 @@ class FuzzySearchAlgorithm(SearchAlgorithm):
# Scroll through Qdrant to get all matching documents
qdrant_client = await get_qdrant_client()
collection = settings.qdrant_collection
collection = settings.get_collection_name()
all_points = []
offset = None
+1 -1
View File
@@ -83,7 +83,7 @@ class KeywordSearchAlgorithm(SearchAlgorithm):
# Scroll through Qdrant to get all matching documents
# We need title and excerpt from payload for token matching
qdrant_client = await get_qdrant_client()
collection = settings.qdrant_collection
collection = settings.get_collection_name()
all_points = []
offset = None