CREDO23
7fb0707933
refactor(backend): rename search_space -> workspace across app bulk (Phase 2 Wave D)
...
Scoped codemod over surfsense_backend/app (excluding routes/, Wave E): renames
search_space_id -> workspace_id, search_space -> workspace, SearchSpace -> Workspace
across services, utils, tasks, agents, gateway, event_bus, notifications, podcasts,
automations, observability params, and prompt .md files. Also flips the camelCase
payload key searchSpaceId -> workspaceId (no backend reader; hard cutover).
Preserved carve-outs (verbatim): Celery task names "delete_search_space_background"
and "ai_sort_search_space" (wire names), and the OTel/metric key "search_space.id"
(dashboards depend on it). Enum values 'SEARCH_SPACE' and SearchSourceConnector
untouched.
2026-06-26 18:30:47 +02:00
CREDO23
fd495e1b2f
feat(observability): add chunk reconcile metric and kill-switch flag
...
surfsense.indexing.reconcile.chunks counts reused/embedded/deleted chunks per
re-index. CHUNK_RECONCILE_ENABLED (default on) falls back to delete-all +
full re-embed if the diff path ever misbehaves.
2026-06-12 18:52:57 +02:00
CREDO23
91d947ff79
refactor(embedding-cache): rename index cache to embedding cache
...
The cached payload is the indexing pipeline's embeddings (markdown is
chunked then embedded), so "embedding cache" names the expensive output
directly and removes the "index" ambiguity (DB index vs vector index vs
indexing phase). Renames the service, settings, eligibility, eviction
task, metrics, config flags (INDEX_CACHE_* -> EMBEDDING_CACHE_*), object
prefix, and the table (index_cache_embedding_sets -> embedding_cache_sets)
with its constraint and indexes. Migration 161 renamed accordingly.
2026-06-12 17:00:01 +02:00
CREDO23
4d6378e031
feat(observability): add index cache hit/miss and eviction metrics
2026-06-12 16:48:10 +02:00
CREDO23
9efe24879d
feat(observability): add etl cache lookup and eviction metrics
2026-06-12 11:57:03 +02:00
Anish Sarkar
7ff0120fc9
feat(gateway): add worker and webhook metrics
2026-05-28 04:44:28 +05:30
Anish Sarkar
ae3ce91465
feat(gateway): add configuration and metrics hooks
2026-05-27 23:37:26 +05:30
Anish Sarkar
4c8d47617d
feat(env): add SURFSENSE_ENV variable for deployment environment and update observability resource attributes
2026-05-23 02:13:24 +05:30
Anish Sarkar
df698e0216
feat(observability): integrate OpenTelemetry collector and configuration for enhanced telemetry
2026-05-23 00:17:23 +05:30
Anish Sarkar
dbb652d4f8
feat(observability): add telemetry error and event helpers
2026-05-22 17:48:01 +05:30
Anish Sarkar
f7f49de109
feat(observability): add chat subagent and ETL telemetry primitives
2026-05-22 13:47:50 +05:30
Anish Sarkar
21d9b1f218
fix(observability): sanitize outbound HTTP span URLs
2026-05-22 13:47:10 +05:30
Anish Sarkar
6095b48b5f
feat(observability): add SurfSense metric helpers
2026-05-21 23:02:20 +05:30
Anish Sarkar
eb2e2b253b
feat(observability): add OpenTelemetry process bootstrap
2026-05-21 23:01:54 +05:30
DESKTOP-RTLN3BA\$punk
f9b5367754
chore: cleaned comments slop
2026-04-28 23:52:37 -07:00
DESKTOP-RTLN3BA\$punk
ca9bbee06d
chore: linting
2026-04-28 21:37:51 -07:00
DESKTOP-RTLN3BA\$punk
31a372bb84
feat: updated agent harness
2026-04-28 09:22:19 -07:00