Knowledge Base Metrics
Track Knowledge Base ingestion and retrieval, including connector failures and permission sync gaps.
Metrics
| Metric | Labels | Measures |
|---|---|---|
rag_, rag_ | connector_, status | Connector syncs (success, failed, or partial) and their duration |
rag_, rag_, rag_ | connector_ | Documents read, documents added or updated, and chunks created |
rag_ | connector_ | Documents skipped because they have no extractable text |
rag_ | connector_, outcome | Scanned PDF pages sent to OCR |
rag_, rag_ | status | Embedding batches and documents |
rag_, rag_, rag_ | search_ | Searches, their end-to-end duration, and results returned |
rag_ | lane | Search lanes cut by the database statement timeout |
rag_ | result | Chat-answer quotes checked against their cited source |
rag_ | connector_, status | Permission sync passes |
rag_permission_sync_* | connector_ | Permission sync gaps: group failures, dropped principals, ACL over-approximations, unreadable containers, restriction fallbacks, and skipped identity lookups |
rag_ | kind | Users whose group memberships exceeded the per-user cap at query time |
rag_ | Searches limited to organization-wide documents because the caller had no email |