agrag.ingestion.stats
Per-stage observability types for the ingestion pipeline.
One class per module under this package; this init re-exports them so
from agrag.ingestion.stats import ExtractionStats keeps working.
StageFailure/CappedFailures/cap_failures/MAX_FAILURES_PER_STAGE
live in agrag.common.data_models.stage_failure -- a shared model used
outside the ingestion pipeline too -- and are not re-exported here.
Modules:
- chunking – Chunking-stage stats.
- extraction – Extraction-stage stats.
- ingest – Ingestion-stage stats.
- merge – Merge-stage stats.
- resolution – Resolution-stage stats.
- storage – Storage-write-stage stats.
Classes:
- ChunkingMatch – The chunker that one document got, and what it produced.
- ChunkingStats – Chunking-stage results.
- ExtractionStats – Extraction-stage results.
- IngestStats – Ingestion-stage results.
- MergeStats – Merge-stage results.
- ResolutionStats – Resolution-stage results.
- StorageStats – Storage-write-stage results.